Previous Page | Next Page

SAS Functions and CALL Routines under Windows

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 and PEEKCLONG Function in SAS Language Reference: Dictionary

Syntax
Details

Syntax

PEEKLONG(address<,length)>

address

specifies a character expression that is the memory address.

length

specifies the length of the character data.


Details

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.  [cautionend]

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.

Previous Page | Next Page | Top of Page