GET PIXELS POINTER This command in combination with LOCK PIXELS will return the pointer to the first pixel in the visual surface.
Syntax
    Return DWORD=GET PIXELS POINTER()
Returns
The value returned is a DWORD address pointer to the system memory used to store the screen pixels
Description
You can use the indirect symbol to write and read using the value of this pointer. The indirect symbol is specified by placing a * character before the variable holding the pointer.
Example Code
    ptr as DWORD

    LOCK PIXELS

    ptr=GET PIXELS POINTER()

    *ptr=255

    UNLOCK PIXELS

    WAIT KEY
See also
BASIC2D Commands Menu Index