Language Reference
TP
TP | Modify shape of stored, graphics item. |
Item | Description |
|
|
| Point | Range |
|
| 0 | { | 65,535 |
|
|
|
| |
| Preset | State |
| TP | 0 |
|
|
|
| |||
Example | 160 |
| OUTPUT | 723;"CLRDSP;" |
|
|
| Clear graphics from memory. | ||||
| 170 |
| OUTPUT | 723;"DWINDOW | 200,200,0,27,0,30;" | Dene new coordinate | sys- | |||||
|
|
|
|
|
|
|
|
|
| tem that ts inside a square | ||
|
|
|
|
|
|
|
|
|
| with sides 200 units long, in | ||
|
|
|
|
|
|
|
|
|
| the current units for SCALE | ||
|
|
|
|
|
|
|
|
|
| (0 to 1000 for both X and Y). | ||
|
|
|
|
|
|
|
|
|
| Dene new coordinate | sys- | |
|
|
|
|
|
|
|
|
|
| tem: X1 axis is from 0 to 27; | ||
|
|
|
|
|
|
|
|
|
| Y1 axis from 0 to 30. |
|
|
| 180 |
| OUTPUT | 723;"IT 1;VW | OFF;" | Address item 1 and blank it. |
|
| ||||
| 190 |
| OUTPUT 723;"PA 10,0,17,8,"; | Dene item 1 with eleven |
|
| ||||||
| 200 |
| OUTPUT 723;"25,4,21,13,27,20,"; | coordinate pairs , numbered |
|
| ||||||
| 210 |
| OUTPUT 723;"18,19,12,30,"; | 0 through 10. The coordinates |
|
| ||||||
| 220 |
| OUTPUT 723;"11,18,0,16,"; | are specied in the new |
|
| ||||||
| 230 |
| OUTPUT 723;"11,11,10,0;" | coordinate system (X1 and Y1). |
|
| ||||||
| 240 | ! |
|
|
|
|
|
|
|
|
| |
| 250 |
| OUTPUT | 723;"OR 500,600;VW ON;" | Position | item at (500,600) and turn it | ||||||
|
|
|
|
|
|
|
|
| on. |
|
|
|
| 260 |
| OUTPUT | 723;"WAIT 2S;" |
| Wait 2 seconds . |
|
| ||||
| 270 |
| OUTPUT 723;"TP 4;" |
|
| Address the fourth point (27,20). |
|
| ||||
| 280 |
| OUTPUT 723;"PA 40,30;" | Change it from (27,20) to (40,30). |
|
|