The Following code outputs:
NEW CONTENTS FOR ONE
ORIGINAL CONTENTS
DIM STRING TST(1)
TST(1) = "ORIGINAL CONTENTS"
FUNCTION i_use_TST() AS LONG
print TST(1) chr(13, 10)
END FUNCTION
REDIM STRING TST(1)
TST(1) = "NEW CONTENTS FOR ONE"
' Print this to screen, to make sure the contents of
' TST(1) have been updated.
print TST(1) chr(13, 10)
' Now that the contents of TST(1) have been proved to
' have been updated, call i_use_TST().
i_use_TST()
Is this by design? How does it work?