Navigation:  ThinBASIC Modules > Core (thinBasic Core Engine) > Pointers >

STRPTR

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns the address of the memory block used to store data for a dynamic string variable.

 

Syntax

 

ptr = STRPTR(DynamicString)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

DynamicString

Dynamic string variable

No

Name of the dynamic string variable you want the address.

 

Remarks

 

Attention:only dynamic string variables are allowed.
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