06-02-2010, 11:14 AM
LCD Wrote:Is this a bug or "feature"? If it is a feature, how to find out the adress of a string stored in Variable?Strings are just pointers to memory blocks (chars), so:
Code:
DIM a$;
PRINT PEEK(Uinteger, @a$)
a$ = "Hello" : REM Assigning a new value *changes* it [u]dynamic[/u] address
PRINT PEEK(Uinteger, @a$)