PEEKLONG Function: Windows

Stores the contents of a memory address in a numeric variable on 32-bit and 64-bit platforms.
Category: Special
Windows specifics: all
See: PEEKLONG Function in SAS Functions and CALL Routines: Reference and PEEKCLONG Function in SAS Functions and CALL Routines: Reference
CAUTION:
The PEEKLONG functions can directly access memory addresses. Improper use of the PEEKLONG functions can cause SAS, and your operating system, to fail.
Use the PEEKLONG functions only to access information that is returned by one of the MODULE functions.

Syntax

PEEKLONG(address<,length)>

Details

address
specifies a character expression that is the memory address.
length
specifies the length of the character data.

Comparisons

The PEEKLONG function returns a value of length length that contains the data that start at memory address address.
The variations of the PEEKLONG functions are
PEEKCLONG
accesses character strings.
PEEKLONG
accesses numeric values.
Usually, when you need to use one of the PEEKLONG functions, you will use PEEKCLONG to access a character string.