_ ............................... _, ... .... __ ........... .. ...... ._,. __ .. ·-···-·-····· ....................... _, Multiple-Line Exercise Now that you've entered and run a simple graphics program, we'll go to an exercise that shows you how the MPS 1000 combines several lines of graphics for a figure taller than eight dots. Start with a line for 100 columns of single-density graphics and lines to print two pin patterns. Notice that since there are two pin patterns in the loop, it is only executed 50 times. If you are using Commodore BASIC: lOOPEN 4,4 20 PRINT#4, CHR${27) "K" CHR${100)CHR${0) 30FORX= 1TO50: PRINT#4, CHR${85)CHR${42); 40NEXTX 50 CLOSE4 If you are using Microsoft BASIC:
30 LPRINT CHR${27)"K"CHR${100)CHR$(0) 40FORX= 1TO50: LPRINTCHR${85)CHR${42); 50NEXTX If you run the program now, you' II see how one line of the pattern looks: 86