Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
GET, PUT Statements (Graphics)
◄Summary► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Captures a graphics screen image (GET); displays an image captured by GET
(PUT); not available when forms are showing.
GET [STEP](x1!,y1!)-[STEP](x2!,y2!), arrayname[(index%)]
PUT [STEP](x1!,y1!), arrayname[(index%)] [,actionverb]
■ STEP Specifies that coordinates are relative to the current
graphics cursor position
■ (x1!,y1!) Upper-left coordinates of the image captured by GET,
or of the screen location where PUT displays the image
■ (x2!,y2!) Lower-right coordinates of the captured image
■ arrayname Name of the array that stores the image
■ index% Numeric constants or variables indicating the element
of the array where the saved image starts
■ actionverb Indicates how the image is displayed, using one of
the following keywords:
Keyword Description
═══════ ══════════════════════════════════════════
AND Transfers over existing image
OR Superimposes image on existing image
PRESET Transfers negative image point-by-point
PSET Transfers point-by-point
XOR (Default) Inverts the points
See Also
◄GET Statement (File I/O)► ◄Graphics Command Summary►
◄PUT Statement (File I/O)► ◄Screen Image Arrays and Compatibility►