Navigation: thinBasic Modules > Core > Pointers > STRPTR |
|
Description
Returns the address of the memory block used to store data inside a string variable.
Syntax
ptr = STRPTR(VariableName)
Returns
Number
Parameters
Name |
Type |
Optional |
Meaning |
VariableName |
Any |
No |
Name of the variable you want the address. |
Remarks
Attention: for fixed-len string or fixed-len ASCIIZ strings use VARPTR in order to return variable address.
Restrictions
See also
STRPTR, VARPTR, POKE$, POKE, PEEK$, PEEK
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |