0 Members and 1 Guest are viewing this topic.
(I don't know if you can have just text, and I'm pretty sure you can't copy("text",Str1,5), either.
If L=1"Test"->A"Stuff"->BEndIf L=2"Blah"->A"Dude"->BEndDisp A,B
Static pointers are called static pointers because they're, well... static. Once you define them, you can't change their value. This is because once you define something it has to be in memory somewhere. You can't change where something is in memory without using a copy. BUT! Since Axe 0.4.6 you can now do this "almost" automatically by storing them to variable pointers like so:Code: [Select]If L=1"Test"->A"Stuff"->BEndIf L=2"Blah"->A"Dude"->BEndDisp A,BThis works because the VALUE of the pointer can change, but the place where the data is in ram cannot (without a copy).