PEEK

Top  Previous  Next

Action

Returns a byte stored in internal memory.

 

 

Syntax

var = PEEK( address )

 

 

Remarks

var

Numeric variable that is assigned with the content of the memory location address

address

Numeric variable or constant with the address location.(0-255)

 

 

See also

POKE , CPEEK , INP , OUT

 

Example

DIM a As Byte

a = Peek( 0 )         'return the first byte of the internal memory (r0)

End