Previous Page | Next Page

Functions and CALL Routines under UNIX

PEEKLONG Function: UNIX



Stores the contents of a memory address in a numeric variable on 32-bit and 64-bit platforms.
Category: Special
UNIX specifics: All
See: PEEKLONG Function in SAS Language Reference: Dictionary

Syntax
Details

Syntax

PEEKCLONG(address,length);
PEEKLONG(address,length);

address

specifies the character string that is the memory address.

length

specifies the data length.


Details

CAUTION:
Use the PEEKLONG functions only to access information returned by one of the MODULE functions.   [cautionend]

The PEEKLONG function returns a value of length length that contains the data that starts at memory address address.

Here are the variations of the PEEKLONG functions:

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. The PEEKLONG function is mentioned for completeness.

Previous Page | Next Page | Top of Page