Graphics command DRAW
If there is insufficient information on this page and you wish learn more about DRAW, please send an email to email@example.com. You can help to improve information about DRAW by submitting an article using the comments link below. Note, an offline language reference text file is now avialable – see the Download section.
Graphics Definition Language
In the movement instructions below, n specifies a distance to move. The number of pixels moved is equal to n multiplied by the current scaling factor, which is set by the S command.
|En||Move diagonally up and right.|
|Fn||Move diagonally down and right.|
|Gn||Move diagonally down and left.|
|Hn||Move diagonally up and left.|
|Mxy||Move to coordinate x,y. If x is preceded by a + or -, the movement is relative to the last point referenced.|
|B||A prefix command. Next movement command moves but doesn’t plot.|
|N||A prefix command. Next movement command moves, but returns immediately to previous point.|
COLOR 9:PSET 80,80 DRAW "R50D70L25U25L15D25NR15" DRAW "L10U50E25F25" PSET 118,105 DRAW "R8U16L16D16R8U10NR8U6" COLOR 12:PSET 100,117 INPUT "Who are you"; A$ ? "Hello, ";A$;"!"