Sharp OZ-707 Operation Manual - Page 75
Gcursor
UPC - 074000012141
View all Sharp OZ-707 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 75 highlights
GCURSOR p FORMAT: GCURSOR (expression 1, expression 2) Abbreviation: GC. See Also: LOCATE, GPRINT PURPOSE: Specifies the starting point of dot graphics display. REMARKS: GCURSOR specifies the display starting point for the dot pattern to be displayed by the GPRINT command. The screen consists of 96 columns and 64 rows of dots, which can be addressed by column numbers 0 to 95 and row numbers 0 to 63. Any dot on the screen can therefore be addressed as a starting point by specifying the column number with expression 1 and the row number with expression 2. o 95 o _ ~L The values of expressions 1 and 2 may range from -32768 to 32767. It should be noted, however, that if the value of expression 1 is outside the range of 0 to 95 or that of expression 2 is outside the range of 0 to 63, the display starting point will become a virtual point which is outside the screen boundaries. Location (0,7) is automatically assumed as the display starting point if the RUN command is executed or ISHIFT II CeCE I are pressed. If a program is started with GOTO, only the row number specified by this command is maintained, with the column number automatically reset to zero. 138 EXAMPLE: 5: CLS:WAIT 10: GCURSOR (40,30) 20: GPRINT "1824A2F1A22418" This program prints the following dot pattern near the center of the screen (the displlY starting point indicated by the shaded box is not displayed): Display starting point (40.30) 139