A SERVICE OF

logo

Programming 3 – 29
Step 3. Next add the dot values for each column and insert them in the
statement:
10 LPRINT CHR$(27);CHR$(75);CHR$(11);CHR$(0);CHR$(1);CHR$(2)
CHR$(4);CHR$(9);CHR$(18);CHR$(36);CHR$(72);CHR$(144);
CHR$(32);CHR$(64);CHR$;(128)
Step 4. Now run the program. The result should look like this:
If it does not, check your arithmetic and typing, then try again.
Now go back and change the start graphics code to double density, half
speed (ESC L):
20 LPRINT CHR$(27);CHR$(76);CHR$(11);CHR$(0);CHR$(1),CHR$(2)
CHR$(4);CHR$(9);CHR$(18);CHR$(36);CHR$(72);CHR$(144);
CHR$(32);CHR$(64);CHR$(128)
Run the program and compare: