Chapter Contents |
Previous |
Next |
ADDR |
Category: | Special |
Syntax | |
Arguments | |
Details | |
Examples | |
See Also |
Syntax |
ADDR(variable) |
Details |
The return value is always numeric. Because the storage location of a variable may vary from one execution to the next, based on many factors, the value returned by ADDR may vary. This function is used mostly in combination with the PEEK and PEEKC functions and the POKE CALL routine.
Examples |
The following example returns the address at which the variable FIRST is stored:
data numlist; first=3; x=addr(first); run;
See Also |
CALL Routine:
| |||||
Functions:
|
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.