VARPTR/de

Aus MCS Wiki AVR
Wechseln zu: Navigation, Suche

Inhaltsverzeichnis

= (**COPIED FROM ENGLISH PAGE**) === Action

Retrieves the memory-address of a variable.

 

 

Syntax

var = VARPTR( var2 )

var = VARPTR( "var3" )

 

 

Remarks

Var

The variable that receives the address of var2.

Var2

A variable to retrieve the address from.

var3

A constant

 

Sometimes you need to know the address of a variable, for example when you like to peek at it's memory content.

The VARPTR() function assigns this address.

 

See also

NONE

 

 

Example


Dim W As Byte
Print Hex(varptr(w)) ' 0060

Languages   English Deutsch  
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
In anderen Sprachen
Sprache