Writes a value directly into memory
CALL
POKE(source,pointer<,length>);
|
- source
- specifies a SAS expression that contains
a value to write into memory.
- pointer
- specifies a numeric SAS expression that
contains the virtual address of the data that the CALL POKE routine alters.
- length
- specifies a numeric SAS expression that
contains the number of bytes to write from the source
to the address indicated by pointer. If you
omit length, the action that the CALL POKE routine
takes depends on whether source is a character
value or a numeric value:
- CAUTION:
- The POKE routine is intended only for experienced programmers
in specific cases.
If you plan to use this
routine, use extreme care both in your programming and in your typing. Writing
directly into memory can cause devastating problems. This routine bypasses
the normal safeguards that prevent you from destroying a vital element in
your SAS session or in another piece of software that is active at the time.
If you do not have access to the memory location that
you specify, the POKE routine returns an "Invalid argument" error.
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.