The item command, IT, activates the special graphics mode where groups of graphics commands are assigned to an item number. These items can then be redrawn or modied without reexecuting the individual graphics commands. This is useful when a graphics item needs to be blanked and redrawn, changed, recolored, or repositioned at a later time. Executing IT assigns a series of graphics commands to an item number ranging from 1 to 50. The following program lines create items 1 and 2.
120 | OUTPUT | 723;"IT | 1;" | Assign box item number 1. |
130 | OUTPUT | 723;"PA | 0,0,0,400,400,400,400,0,0,0;" | Draw box. |
140 | OUTPUT | 723;"IT | 2;" | Assign triangle item number 2. |
150 | OUTPUT | 723;"PA | 600,0,700,200,800,0,600,0;" | Draw triangle . |
Graphics Items 1 and 2
Turning o IT mode
To turn o the special graphics mode entered with the IT command, you must execute one of the following commands: IT 0, IP, DELETE , or CLRDSP .