GET-LONG function

Returns the signed 32-bit value at the specified memory location as an INTEGER value.

Syntax

GET-LONG ( source , position )
source
A function or variable that returns a RAW or MEMPTR value. If source is the Unknown value (?), GET-LONG returns the Unknown value (?).
position
An integer value greater than 0 that indicates the byte position where you want to find the information. If position is greater than the length of source, the AVM returns the Unknown value (?). If position is less than 1, the AVM generates a run-time error.

Examples

For examples of how to use the GET-LONG function, see the GET-BYTE function reference entry.

Notes

See also

LENGTH function, PUT-LONG statement, RAW function, RAW statement, SET-SIZE statement