Many computer systems automatically insert a carriage return and a line feed after every 80 characters. This insertion usually causes no problem with text, but it can spoil your graphics. In the Graphics mode, some systems insert the control codes after 120 columns, which may be in the middle of a line.
You can usually prevent these unwanted control codes with a WIDTH statement such as the one below:
WIDTH LPRINT 255The format for your system may differ. Consult your computer’s documentation to find the correct format for your system. Then put a WIDTH statement in one of the first lines of all your graphics pro- grams. It is easier to put a WIDTH statement in all but the simplest of your programs than to examine each one to see whether it needs such a statement.
Semicolons and command placementAfter the graphics command is issued, every number sent to the printer is interpreted by the
For example, suppose you want to print a
This program has all the necessary elements. Line 20 has the command for
Although this program has all the necessary elements, it will not give you the printout of a single pattern that you want, as you can see in the partial printout in Figure
48