BASIC PUT SCREEN Statement - fvdhoef/aquarius-plus GitHub Wiki
PUT SCREEN
TYPE: plusBASIC graphics statement
FORMAT: PUT SCREEN ( column , row ) , arrayname
Action: Copies a rectangle of text screen data from a numeric array to the screen.
- column and row specifies the screen position of the upper-left corner of the rectangle.
- endcol and endrow specifies the lower-right corner of the rectangle.
- arrayname is the name of the array to copy the screen data from.
- The width and height of the rectangle is defined when the array is populated with a GET statement.
- Illegal Quantity results from any of the following conditions:
- column is not in the range 0 through 39.
- row is not in the range 0 through 24.
Examples:
10 DIM A(13)
20 GET SCREEN (2,3)-(7,8),*A
30 PUT SCREEN (10,5),*A
Copies text screen contents from column 2, line 3 through column 7, line 8 to column 10, line 5 through column 15, line 10.