CALL POKELONG Routine


Writes a value directly into memory on 32-bit and 64-bit platforms

Category: Special

Syntax

CALL POKELONG ( source , pointer <, length >)

Arguments

source

  • specifies a character string that contains a value to write into memory.

pointer

  • specifies a character string that contains the virtual address of the data that the CALL POKELONG routine alters.

length

  • specifies a numeric SAS expression that contains the number of bytes to write from the source to the address that is indicated by the pointer . If you omit length , the CALL POKELONG routine copies the entire value of source to the specified memory location.

Details

CAUTION:

  • The CALL POKELONG 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. It 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 CALL POKELONG routine returns an "Invalid argument" error.




SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 704

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net