Try ERASE
x$(11) = "Steve"
PRINT x$
(11);
" Hey, where'd Steve go?"
But I get it now... I know it works with DIM, but not REDIM. Also, I just looked at your post, tried this experiment, and it fails. Now I see your problem...
x$(11) = "Steve"
PRINT x$
(11);
" Hey, where'd Steve go?"
So now I'm wondering how ERASE worked in QuickBASIC?
Okay, for a QBasic page, I get this...
For static arrays, ERASE sets each element of a numeric array to zero and each element of a string array to null.
For dynamic arrays, ERASE frees the memory used by the array. You must redeclare the array's dimensions with REDIM or DIM before using it.
So maybe this is a QB64 bug. Sorry, I don't have QBasic on this machine.
Pete