Oh ho! Now that's an interesting trick. Can one safely change the LENGTH byte of "ordinary $tring animals"?
For instance, if one made a string holding two copies of 40 characters and changed the length from 80 to 40, then incrementing the address pointer would cause it to appear to rotate. Or would such a string eventually get mangled when some other string's operation required garbage collection? How does BASIC know not to move the extraordinary $trings? If it doesn't touch literal strings in the BASIC program, maybe that's the right place to put strings I want to play tricks with. Self-modifying code is easy to mess up, but I've already got a well-tested routine in the M100LE game that calculates the RAM address of a file for all Model-T variants. A BASIC program can never change location in memory while it is running, right? --b9 On January 18, 2026 1:51:28 PM PST, "John R. Hogerhuis" <[email protected]> wrote: >This is what I mean by a special string: > >https://bitchin100.com/wiki/index.php?title=Extraordinary_String_Animals > >-- John. > >>
