Thanks to all for the examples, the subject has covered more than I expectedBarryG wrote: ↑Sat Jul 30, 2022 9:36 am And following on from Shardik's post, you can also do this:Code: Select all
Define MyString.s = "Test 1" Define MyString$ = "Test 2" Define *MyString = @"Test 3"
What would the use of pointer variables be, typically, as in your example? I'm aware they exist, from short excursions into C programming in the past but their use has always been rather unclear to me.
In other words, when you can say NAME$="My name" and then overwrite that with NAME$="New name", why would you want to instead define *NAME and then POKE its memory location?