Difference between revisions of "AMOSi:Varptr"

From Amiga Coding
Jump to: navigation, search
(Extracted from the AMOSPro V2.00 helpfile)
(fixed an spelling error)
 
Line 5: Line 5:
  
  
The address of string variable can change dramaticaly during the course of your programs. So only POKE values into an address you KNOW to be correct!
+
The address of string variable can change dramatically during the course of your programs. So only POKE values into an address you KNOW to be correct!
  
  

Latest revision as of 18:47, 18 November 2007

an example can be found on AMOSPro_Examples:Examples/H-5/Help_56.AMOS


Returns the address of an AMOS Basic VARiable in memory. Warning!


The address of string variable can change dramatically during the course of your programs. So only POKE values into an address you KNOW to be correct!


address=Varptr(variable)

See the AMOSPro User Guide for a complete explanation of this feature.