Reset/empty string ARRAY$ ?


Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9957
Posted: 12:14pm 11 Mar 2025      

  Quote  On reflection I suspect it is one byte containing the current length and *7* characters.


Doesn't work like that. The vartbl entry still contains a pointer so nothing else needs changing. For short strings it points to the second element of the dimension array which is repurposed to contain the string