Navigation:  thinBasic Modules > Core > Pointers >

SetAT

Previous pageReturn to chapter overviewNext page

 

Description

 

Set a new absolute memory address to a variable previously declared with AT Address option.

 

Syntax

 

OldAbsoluteAddress = SetAT(VariableName, AbsoluteAddress)

 

Returns

 

Number, the previously absolute address.

 

Parameters

 

Name

Type

Optional

Meaning

VariableName

Any

No

Name of the variable you want the absolute address.

AbsoluteAddress

Numeric

No

The new absolute memory address

 

Remarks

 

Attention: this function will return and set a new valid address only if the specified variable was DIMensioned using AT Address option.

 

Restrictions

 

See also

 

DIM, GetAT, STRPTR, VARPTR, POKE$, POKE, PEEK$, PEEK

 

Examples

 

 

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com