APPENDIX A
|
| TM |
|
|
| USING GRAPPLER CONMANDS WITHIN A PROGRAM | |||
| The following table illustrates how a few Grappler commands would be | |||
used within a program: |
|
|
| |
| INTEGER BASIC |
| DESCRIPTION | |
|
|
|
| TM |
1Ø PRINT | 10 PRINT CHR$(4);”PR#l" | Turns on Grappler | ||
|
|
| If you are not | |
|
|
| using DOS (disk | |
|
|
| operating SYSTEM) | |
|
|
| thEn enter the line | |
|
|
| as: 1Ø PR#1 | |
2Ø PRINT | 20 PRINT CHR$(9);”8ØN” | Set line length to | ||
|
|
| 8Ø columns and turn | |
|
|
| off Apple video | |
3Ø PRINT “TESTING” | 3Ø PRINT “TESTING” | Prints “Testing” | ||
|
|
| on the printer | |
4Ø POKE 36,5Ø:PRINT”TESTING” | 4Ø PORN 36,5Ø:PRINT”TESTING” | Tabs to the 51st | ||
|
|
| column and prints | |
|
|
| “Testing” | |
5Ø PRINT | 5Ø PRINT CHR$(9);CNR$(l) | Charges tha | ||
|
|
| command character | |
|
|
| to | |
60 PRINT | 6Ø PRINT CHR$(l);”lØL” | Sets left margin to | ||
|
|
| 1Ø, notice use of | |
|
|
| new command | |
|
|
| ||
7Ø PRINT THE GRAPPLER” | 7Ø PRINT “THE GRAPPLER" | Prints “The Grappler”. | ||
|
|
| Notice printing | |
|
|
| starts at 1Øth column. | |
8Ø PRINT | 8Ø PRINT CHR$(4);’PR#Ø” | Turns off Grappler. | ||
|
|
| If you are not | |
|
|
| using DOS enter the | |
|
|
| line as: 8Ø PR#Ø |
NOTES:
Whenever you see
When tabbing past 4Ø columns, you must set the line length greater than 4Ø
11