GetScreen(Image[Index])
Copies the entire screen buffer into an integer array.
This method is at least 5 times faster than using the ExtGet function.
Parameters
Image[Index] - The integer array to hold the screen buffer at the starting index.
To make sure the integer array is large enough to hold the entire screen buffer use the following chart for the proper array size for each screen mode:
160x200x16 color graphics mode:
BASIC
DIM Image%(8005)
PASCAL
Image: ARRAY[0..8005] OF WORD;
320x200x16 color graphics mode:
BASIC
DIM Image%(16005)
PASCAL
Image: ARRAY[0..16005] OF WORD;
640x200x16 color graphics mode:
BASIC
DIM Image%(32005)
PASCAL
Image: ARRAY[0..32005] OF WORD;