home *** CD-ROM | disk | FTP | other *** search
Unknown | 1987-12-12 | 40.0 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| WANG Integrated Word Processor (document/wangIWP)
| ext
| Unsupported |
1%
| dexvert
| Dynamic Publisher Document (document/dynamicPublisherDocument)
| ext
| Unsupported |
1%
| dexvert
| Excellence! Document (document/excellenceDocument)
| ext
| Unsupported |
1%
| dexvert
| Norton Textra Writer (document/textraWriter)
| ext
| Unsupported |
1%
| dexvert
| IBM DisplayWrite Document (document/ibmDisplayWriteDocument)
| ext
| Unsupported |
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 1b 32 1b 55 00 1b 36 1b | 38 1b 41 0c 1b 32 1b 47 |.2.U..6.|8.A..2.G|
|00000010| 1b 43 42 0d 0a 0d 0a 0d | 0a 0d 0a 20 20 20 20 1b |.CB.....|... .|
|00000020| 45 20 41 50 50 45 4e 44 | 49 58 20 43 20 1b 46 20 |E APPEND|IX C .F |
|00000030| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 1b 45 20 | | .E |
|00000040| 20 20 20 42 41 53 49 43 | 20 43 4f 4d 4d 41 4e 44 | BASIC| COMMAND|
|00000050| 53 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |S | |
|00000060| 20 20 20 20 41 50 50 45 | 4e 44 49 58 20 43 0d 0a | APPE|NDIX C..|
|00000070| 0d 0a 0d 0a 20 20 20 20 | 20 54 48 45 20 42 41 53 |.... | THE BAS|
|00000080| 49 43 41 20 52 45 46 45 | 52 45 4e 43 45 20 4d 41 |ICA REFE|RENCE MA|
|00000090| 4e 55 41 4c 0d 0a 0d 0a | 20 20 20 20 20 1b 46 4e |NUAL....| .FN|
|000000a0| 6f 2c 20 74 68 65 20 62 | 6f 6f 6b 20 79 6f 75 20 |o, the b|ook you |
|000000b0| 61 72 65 20 72 65 61 64 | 69 6e 67 20 69 73 20 6e |are read|ing is n|
|000000c0| 6f 74 20 74 68 65 20 42 | 41 53 49 43 41 20 52 65 |ot the B|ASICA Re|
|000000d0| 66 65 72 65 6e 63 65 20 | 4d 61 6e 75 61 6c 2e 20 |ference |Manual. |
|000000e0| 20 59 6f 75 72 0d 0a 20 | 20 20 20 20 66 72 69 65 | Your.. | frie|
|000000f0| 6e 64 6c 79 20 74 65 78 | 74 62 6f 6f 6b 20 61 75 |ndly tex|tbook au|
|00000100| 74 68 6f 72 73 20 61 72 | 65 20 61 69 6d 69 6e 67 |thors ar|e aiming|
|00000110| 20 74 6f 20 68 65 6c 70 | 20 79 6f 75 20 6c 65 61 | to help| you lea|
|00000120| 72 6e 20 74 68 65 20 22 | 62 61 73 69 63 73 22 20 |rn the "|basics" |
|00000130| 6f 66 0d 0a 20 20 20 20 | 20 73 74 72 75 63 74 75 |of.. | structu|
|00000140| 72 65 64 20 70 72 6f 67 | 72 61 6d 6d 69 6e 67 2e |red prog|ramming.|
|00000150| 20 20 4f 6e 63 65 20 79 | 6f 75 20 72 65 61 6c 6c | Once y|ou reall|
|00000160| 79 20 67 65 74 20 73 74 | 61 72 74 65 64 20 77 72 |y get st|arted wr|
|00000170| 69 74 69 6e 67 20 70 72 | 6f 67 72 61 6d 73 2c 0d |iting pr|ograms,.|
|00000180| 0a 20 20 20 20 20 79 6f | 75 20 77 69 6c 6c 20 6e |. yo|u will n|
|00000190| 65 65 64 20 64 65 74 61 | 69 6c 65 64 20 69 6e 66 |eed deta|iled inf|
|000001a0| 6f 72 6d 61 74 69 6f 6e | 20 61 62 6f 75 74 20 74 |ormation| about t|
|000001b0| 68 65 20 73 79 6e 74 61 | 78 20 6f 66 20 74 68 65 |he synta|x of the|
|000001c0| 20 63 6f 6d 6d 61 6e 64 | 73 20 79 6f 75 0d 0a 20 | command|s you.. |
|000001d0| 20 20 20 20 61 72 65 20 | 75 73 69 6e 67 2e 20 20 | are |using. |
|000001e0| 54 68 65 20 42 41 53 49 | 43 41 20 4d 61 6e 75 61 |The BASI|CA Manua|
|000001f0| 6c 20 69 73 20 61 20 72 | 65 66 65 72 65 6e 63 65 |l is a r|eference|
|00000200| 20 62 6f 6f 6b 20 77 68 | 69 63 68 20 6c 69 73 74 | book wh|ich list|
|00000210| 73 20 74 68 65 73 65 0d | 0a 20 20 20 20 20 63 6f |s these.|. co|
|00000220| 6d 6d 61 6e 64 73 20 69 | 6e 20 61 6c 70 68 61 62 |mmands i|n alphab|
|00000230| 65 74 69 63 61 6c 20 6f | 72 64 65 72 20 61 6e 64 |etical o|rder and|
|00000240| 20 67 69 76 65 73 20 65 | 78 61 6d 70 6c 65 73 20 | gives e|xamples |
|00000250| 6f 66 20 68 6f 77 20 79 | 6f 75 20 63 61 6e 20 75 |of how y|ou can u|
|00000260| 73 65 0d 0a 20 20 20 20 | 20 65 61 63 68 20 6f 66 |se.. | each of|
|00000270| 20 74 68 65 6d 20 74 6f | 20 74 65 6c 6c 20 74 68 | them to| tell th|
|00000280| 65 20 63 6f 6d 70 75 74 | 65 72 20 74 6f 20 64 6f |e comput|er to do|
|00000290| 20 65 78 61 63 74 6c 79 | 20 28 77 69 74 68 69 6e | exactly| (within|
|000002a0| 20 72 65 61 73 6f 6e 29 | 20 77 68 61 74 20 79 6f | reason)| what yo|
|000002b0| 75 0d 0a 20 20 20 20 20 | 77 61 6e 74 20 69 74 20 |u.. |want it |
|000002c0| 74 6f 20 64 6f 2e 20 20 | 54 68 65 72 65 20 61 72 |to do. |There ar|
|000002d0| 65 20 73 65 76 65 72 61 | 6c 20 63 6f 70 69 65 73 |e severa|l copies|
|000002e0| 20 6f 66 20 69 74 20 69 | 6e 20 79 6f 75 72 20 63 | of it i|n your c|
|000002f0| 6c 61 73 73 72 6f 6f 6d | 20 61 6e 64 20 69 6e 0d |lassroom| and in.|
|00000300| 0a 20 20 20 20 20 74 68 | 65 20 41 63 61 64 65 6d |. th|e Academ|
|00000310| 69 63 20 43 6f 6d 70 75 | 74 65 72 20 43 65 6e 74 |ic Compu|ter Cent|
|00000320| 65 72 20 6f 66 66 69 63 | 65 2e 20 20 47 65 74 20 |er offic|e. Get |
|00000330| 69 6e 74 6f 20 74 68 65 | 20 68 61 62 69 74 20 6f |into the| habit o|
|00000340| 66 20 72 65 66 65 72 72 | 69 6e 67 20 74 6f 0d 0a |f referr|ing to..|
|00000350| 20 20 20 20 20 69 74 2e | 20 20 41 74 20 66 69 72 | it.| At fir|
|00000360| 73 74 2c 20 79 6f 75 20 | 6d 69 67 68 74 20 62 65 |st, you |might be|
|00000370| 20 69 6e 74 69 6d 69 64 | 61 74 65 64 20 77 68 65 | intimid|ated whe|
|00000380| 6e 20 79 6f 75 20 63 6f | 6e 66 72 6f 6e 74 20 61 |n you co|nfront a|
|00000390| 6c 6c 20 74 68 65 0d 0a | 20 20 20 20 20 76 61 72 |ll the..| var|
|000003a0| 69 61 74 69 6f 6e 73 20 | 77 68 69 63 68 20 61 72 |iations |which ar|
|000003b0| 65 20 70 6f 73 73 69 62 | 6c 65 20 66 6f 72 20 65 |e possib|le for e|
|000003c0| 61 63 68 20 63 6f 6d 6d | 61 6e 64 20 2d 20 74 68 |ach comm|and - th|
|000003d0| 65 20 4d 61 6e 75 61 6c | 2c 20 75 6e 6c 69 6b 65 |e Manual|, unlike|
|000003e0| 20 74 68 69 73 0d 0a 20 | 20 20 20 20 62 6f 6f 6b | this.. | book|
|000003f0| 2c 20 61 69 6d 73 20 74 | 6f 20 62 65 20 63 6f 6d |, aims t|o be com|
|00000400| 70 6c 65 74 65 2e 20 20 | 42 75 74 20 69 66 20 79 |plete. |But if y|
|00000410| 6f 75 20 6c 65 61 72 6e | 20 74 6f 20 75 73 65 20 |ou learn| to use |
|00000420| 69 74 2c 20 61 6e 64 20 | 74 6f 20 6c 6f 63 61 74 |it, and |to locat|
|00000430| 65 0d 0a 20 20 20 20 20 | 77 68 61 74 20 79 6f 75 |e.. |what you|
|00000440| 20 61 72 65 20 6c 6f 6f | 6b 69 6e 67 20 66 6f 72 | are loo|king for|
|00000450| 20 77 69 74 68 69 6e 20 | 69 74 73 20 77 65 61 6c | within |its weal|
|00000460| 74 68 20 6f 66 20 69 6e | 66 6f 72 6d 61 74 69 6f |th of in|formatio|
|00000470| 6e 2c 20 79 6f 75 20 77 | 69 6c 6c 0d 0a 20 20 20 |n, you w|ill.. |
|00000480| 20 20 61 63 71 75 69 72 | 65 20 61 20 73 6b 69 6c | acquir|e a skil|
|00000490| 6c 20 77 68 69 63 68 20 | 77 69 6c 6c 20 73 74 61 |l which |will sta|
|000004a0| 6e 64 20 79 6f 75 20 69 | 6e 20 67 6f 6f 64 20 73 |nd you i|n good s|
|000004b0| 74 65 61 64 20 74 68 72 | 6f 75 67 68 20 61 6c 6c |tead thr|ough all|
|000004c0| 20 79 6f 75 72 0d 0a 20 | 20 20 20 20 66 75 74 75 | your.. | futu|
|000004d0| 72 65 20 70 72 6f 67 72 | 61 6d 6d 69 6e 67 20 65 |re progr|amming e|
|000004e0| 6e 64 65 61 76 6f 72 73 | 2e 0d 0a 0d 0a 0d 0a 20 |ndeavors|....... |
|000004f0| 20 20 20 20 1b 45 44 49 | 52 45 43 54 20 56 53 2e | .EDI|RECT VS.|
|00000500| 20 49 4e 44 49 52 45 43 | 54 20 4d 4f 44 45 0d 0a | INDIREC|T MODE..|
|00000510| 0d 0a 20 20 20 20 20 1b | 46 57 68 65 6e 20 79 6f |.. .|FWhen yo|
|00000520| 75 20 6c 6f 61 64 20 42 | 41 53 49 43 2c 20 79 6f |u load B|ASIC, yo|
|00000530| 75 20 77 69 6c 6c 20 73 | 65 65 20 61 20 6d 6f 73 |u will s|ee a mos|
|00000540| 74 6c 79 20 62 6c 61 6e | 6b 20 73 63 72 65 65 6e |tly blan|k screen|
|00000550| 20 77 69 74 68 20 1b 45 | 4f 6b 1b 46 20 61 74 20 | with .E|Ok.F at |
|00000560| 74 68 65 0d 0a 20 20 20 | 20 20 75 70 70 65 72 20 |the.. | upper |
|00000570| 6c 65 66 74 2e 20 20 54 | 68 65 20 1b 45 4f 6b 1b |left. T|he .EOk.|
|00000580| 46 20 69 73 20 74 68 65 | 20 42 41 53 49 43 20 70 |F is the| BASIC p|
|00000590| 72 6f 6d 70 74 3b 20 69 | 74 20 6d 65 61 6e 73 2c |rompt; i|t means,|
|000005a0| 20 22 4f 6b 2c 20 74 65 | 6c 6c 20 6d 65 20 77 68 | "Ok, te|ll me wh|
|000005b0| 61 74 20 74 6f 0d 0a 20 | 20 20 20 20 64 6f 20 6e |at to.. | do n|
|000005c0| 65 78 74 22 2e 20 20 54 | 68 65 72 65 20 61 72 65 |ext". T|here are|
|000005d0| 20 74 77 6f 20 77 61 79 | 73 20 74 6f 20 63 6f 6d | two way|s to com|
|000005e0| 6d 75 6e 69 63 61 74 65 | 20 77 69 74 68 20 42 41 |municate| with BA|
|000005f0| 53 49 43 2c 20 64 69 72 | 65 63 74 20 28 6f 72 0d |SIC, dir|ect (or.|
|00000600| 0a 20 20 20 20 20 63 6f | 6d 6d 61 6e 64 29 20 6d |. co|mmand) m|
|00000610| 6f 64 65 20 61 6e 64 20 | 69 6e 64 69 72 65 63 74 |ode and |indirect|
|00000620| 20 28 6f 72 20 73 74 61 | 74 65 6d 65 6e 74 29 20 | (or sta|tement) |
|00000630| 6d 6f 64 65 2e 0d 0a 0d | 0a 20 20 20 20 20 49 6e |mode....|. In|
|00000640| 20 64 69 72 65 63 74 20 | 6d 6f 64 65 2c 20 79 6f | direct |mode, yo|
|00000650| 75 20 63 61 6e 20 74 79 | 70 65 20 69 6e 20 61 20 |u can ty|pe in a |
|00000660| 63 6f 6d 6d 61 6e 64 20 | 61 6e 64 20 69 74 20 77 |command |and it w|
|00000670| 69 6c 6c 20 62 65 20 63 | 61 72 72 69 65 64 20 6f |ill be c|arried o|
|00000680| 75 74 20 61 73 0d 0a 20 | 20 20 20 20 73 6f 6f 6e |ut as.. | soon|
|00000690| 20 61 73 20 79 6f 75 20 | 70 72 65 73 73 20 74 68 | as you |press th|
|000006a0| 65 20 45 6e 74 65 72 20 | 6b 65 79 2e 20 20 46 6f |e Enter |key. Fo|
|000006b0| 72 20 65 78 61 6d 70 6c | 65 2c 20 74 68 65 20 50 |r exampl|e, the P|
|000006c0| 52 49 4e 54 20 63 6f 6d | 6d 61 6e 64 20 69 6e 0d |RINT com|mand in.|
|000006d0| 0a 20 20 20 20 20 42 41 | 53 49 43 20 69 73 20 75 |. BA|SIC is u|
|000006e0| 73 65 64 20 74 6f 20 64 | 69 73 70 6c 61 79 20 73 |sed to d|isplay s|
|000006f0| 6f 6d 65 74 68 69 6e 67 | 20 6f 6e 20 74 68 65 20 |omething| on the |
|00000700| 73 63 72 65 65 6e 2e 20 | 20 55 73 65 20 69 74 20 |screen. | Use it |
|00000710| 69 6e 20 64 69 72 65 63 | 74 20 6d 6f 64 65 0d 0a |in direc|t mode..|
|00000720| 20 20 20 20 20 61 6e 64 | 20 79 6f 75 20 77 69 6c | and| you wil|
|00000730| 6c 20 73 65 65 20 74 68 | 65 20 72 65 73 75 6c 74 |l see th|e result|
|00000740| 73 20 64 69 73 70 6c 61 | 79 65 64 20 6f 6e 20 74 |s displa|yed on t|
|00000750| 68 65 20 6c 69 6e 65 20 | 62 65 6c 6f 77 20 79 6f |he line |below yo|
|00000760| 75 72 20 63 6f 6d 6d 61 | 6e 64 2e 0d 0a 20 20 20 |ur comma|nd... |
|00000770| 20 20 53 6f 20 69 66 20 | 79 6f 75 20 65 6e 74 65 | So if |you ente|
|00000780| 72 0d 0a 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |r.... | |
|00000790| 20 20 20 20 1b 45 50 52 | 49 4e 54 20 22 48 41 50 | .EPR|INT "HAP|
|000007a0| 50 59 20 4e 45 57 20 59 | 45 41 52 22 0d 0a 0d 0a |PY NEW Y|EAR"....|
|000007b0| 20 20 20 20 20 1b 46 61 | 74 20 74 68 65 20 1b 45 | .Fa|t the .E|
|000007c0| 4f 6b 1b 46 20 70 72 6f | 6d 70 74 2c 20 79 6f 75 |Ok.F pro|mpt, you|
|000007d0| 20 77 69 6c 6c 20 73 65 | 65 0d 0a 0d 0a 20 20 20 | will se|e.... |
|000007e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 1b 45 4f 6b | | .EOk|
|000007f0| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00000800| 20 50 52 49 4e 54 20 22 | 48 41 50 50 59 20 4e 45 | PRINT "|HAPPY NE|
|00000810| 57 20 59 45 41 52 22 0d | 0a 20 20 20 20 20 20 20 |W YEAR".|. |
|00000820| 20 20 20 20 20 20 20 20 | 48 41 50 50 59 20 4e 45 | |HAPPY NE|
|00000830| 57 20 59 45 41 52 0d 0a | 20 20 20 20 20 20 20 20 |W YEAR..| |
|00000840| 20 20 20 20 20 20 20 4f | 6b 0d 0a 0d 0a 20 20 20 | O|k.... |
|00000850| 20 20 1b 46 61 6e 64 20 | 69 66 20 79 6f 75 20 65 | .Fand |if you e|
|00000860| 6e 74 65 72 0d 0a 0d 0a | 20 20 20 20 20 20 20 20 |nter....| |
|00000870| 20 20 20 20 20 20 20 1b | 45 50 52 49 4e 54 20 35 | .|EPRINT 5|
|00000880| 20 2b 20 34 0d 0a 0d 0a | 20 20 20 20 20 1b 46 79 | + 4....| .Fy|
|00000890| 6f 75 20 77 69 6c 6c 20 | 73 65 65 0d 0a 0d 0a 20 |ou will |see.... |
|000008a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 1b 45 | | .E|
|000008b0| 4f 6b 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |Ok.. | |
|000008c0| 20 20 20 50 52 49 4e 54 | 20 35 20 2b 20 34 0d 0a | PRINT| 5 + 4..|
|000008d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 39 | | 9|
|000008e0| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|000008f0| 20 4f 6b 0d 0a 0d 0a 0d | 0a 0d 0a 0d 0a 1b 46 20 | Ok.....|......F |
|00000900| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000910| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000920| 20 20 20 20 20 20 1b 45 | 20 31 36 31 0d 0a 0d 0a | .E| 161....|
|00000930| 0c 0d 0a 0d 0a 0d 0a 0d | 0a 1b 46 20 20 20 20 1b |........|..F .|
|00000940| 45 20 41 50 50 45 4e 44 | 49 58 20 43 20 1b 46 20 |E APPEND|IX C .F |
|00000950| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 1b 45 20 | | .E |
|00000960| 20 20 20 42 41 53 49 43 | 20 43 4f 4d 4d 41 4e 44 | BASIC| COMMAND|
|00000970| 53 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |S | |
|00000980| 20 20 20 20 41 50 50 45 | 4e 44 49 58 20 43 0d 0a | APPE|NDIX C..|
|00000990| 0d 0a 0d 0a 20 20 20 20 | 20 1b 46 28 74 68 61 74 |.... | .F(that|
|000009a0| 27 73 20 72 69 67 68 74 | 2c 20 69 66 20 79 6f 75 |'s right|, if you|
|000009b0| 20 63 6f 6d 6d 61 6e 64 | 20 42 41 53 49 43 20 74 | command| BASIC t|
|000009c0| 6f 20 50 52 49 4e 54 20 | 61 20 6d 61 74 68 65 6d |o PRINT |a mathem|
|000009d0| 61 74 69 63 61 6c 20 63 | 61 6c 63 75 6c 61 74 69 |atical c|alculati|
|000009e0| 6f 6e 2c 0d 0a 20 20 20 | 20 20 74 68 65 20 72 65 |on,.. | the re|
|000009f0| 73 75 6c 74 73 20 6f 66 | 20 74 68 65 20 63 61 6c |sults of| the cal|
|00000a00| 63 75 6c 61 74 69 6f 6e | 20 77 69 6c 6c 20 62 65 |culation| will be|
|00000a10| 20 64 69 73 70 6c 61 79 | 65 64 29 2e 20 20 4f 6e | display|ed). On|
|00000a20| 20 74 68 65 20 6e 65 78 | 74 20 6c 69 6e 65 2c 0d | the nex|t line,.|
|00000a30| 0a 20 20 20 20 20 74 68 | 65 20 1b 45 4f 6b 1b 46 |. th|e .EOk.F|
|00000a40| 20 70 72 6f 6d 70 74 20 | 77 69 6c 6c 20 61 70 70 | prompt |will app|
|00000a50| 65 61 72 20 61 67 61 69 | 6e 20 2d 20 42 41 53 49 |ear agai|n - BASI|
|00000a60| 43 20 69 73 20 73 61 79 | 69 6e 67 2c 20 22 4f 6b |C is say|ing, "Ok|
|00000a70| 2c 20 49 20 64 69 64 20 | 74 68 61 74 2c 20 6e 6f |, I did |that, no|
|00000a80| 77 0d 0a 20 20 20 20 20 | 77 68 61 74 3f 22 0d 0a |w.. |what?"..|
|00000a90| 0d 0a 20 20 20 20 20 4c | 61 74 65 72 20 6f 6e 2c |.. L|ater on,|
|00000aa0| 20 79 6f 75 27 6c 6c 20 | 66 69 6e 64 20 74 68 65 | you'll |find the|
|00000ab0| 20 50 52 49 4e 54 20 63 | 6f 6d 6d 61 6e 64 20 69 | PRINT c|ommand i|
|00000ac0| 6e 20 64 69 72 65 63 74 | 20 6d 6f 64 65 20 74 6f |n direct| mode to|
|00000ad0| 20 62 65 20 75 73 65 66 | 75 6c 20 66 6f 72 0d 0a | be usef|ul for..|
|00000ae0| 20 20 20 20 20 63 68 65 | 63 6b 69 6e 67 20 74 68 | che|cking th|
|00000af0| 65 20 76 61 6c 75 65 73 | 20 6f 66 20 76 61 72 69 |e values| of vari|
|00000b00| 61 62 6c 65 73 20 61 66 | 74 65 72 20 72 75 6e 6e |ables af|ter runn|
|00000b10| 69 6e 67 20 6f 72 20 69 | 6e 74 65 72 72 75 70 74 |ing or i|nterrupt|
|00000b20| 69 6e 67 20 61 20 42 41 | 53 49 43 0d 0a 20 20 20 |ing a BA|SIC.. |
|00000b30| 20 20 70 72 6f 67 72 61 | 6d 2e 20 20 28 49 74 27 | progra|m. (It'|
|00000b40| 73 20 61 6c 73 6f 20 68 | 61 6e 64 79 20 61 73 20 |s also h|andy as |
|00000b50| 61 20 73 75 62 73 74 69 | 74 75 74 65 20 66 6f 72 |a substi|tute for|
|00000b60| 20 61 20 63 61 6c 63 75 | 6c 61 74 6f 72 2c 20 6f | a calcu|lator, o|
|00000b70| 72 20 66 6f 72 0d 0a 20 | 20 20 20 20 69 6d 70 72 |r for.. | impr|
|00000b80| 65 73 73 69 6e 67 20 79 | 6f 75 72 20 66 72 69 65 |essing y|our frie|
|00000b90| 6e 64 73 20 77 68 65 6e | 20 76 69 73 69 74 69 6e |nds when| visitin|
|00000ba0| 67 20 74 68 65 20 63 6f | 6d 70 75 74 65 72 20 73 |g the co|mputer s|
|00000bb0| 65 63 74 69 6f 6e 20 6f | 66 20 61 0d 0a 20 20 20 |ection o|f a.. |
|00000bc0| 20 20 64 65 70 61 72 74 | 6d 65 6e 74 20 73 74 6f | depart|ment sto|
|00000bd0| 72 65 2e 29 20 20 48 6f | 77 65 76 65 72 2c 20 64 |re.) Ho|wever, d|
|00000be0| 69 72 65 63 74 20 6d 6f | 64 65 20 64 6f 65 73 6e |irect mo|de doesn|
|00000bf0| 27 74 20 67 65 74 20 79 | 6f 75 20 76 65 72 79 20 |'t get y|ou very |
|00000c00| 66 61 72 20 69 6e 0d 0a | 20 20 20 20 20 74 65 72 |far in..| ter|
|00000c10| 6d 73 20 6f 66 20 77 72 | 69 74 69 6e 67 20 61 20 |ms of wr|iting a |
|00000c20| 70 72 6f 67 72 61 6d 2e | 20 20 46 6f 72 20 74 68 |program.| For th|
|00000c30| 61 74 20 79 6f 75 20 6e | 65 65 64 20 74 6f 20 75 |at you n|eed to u|
|00000c40| 73 65 20 42 41 53 49 43 | 27 73 20 69 6e 64 69 72 |se BASIC|'s indir|
|00000c50| 65 63 74 2c 0d 0a 20 20 | 20 20 20 6f 72 20 73 74 |ect,.. | or st|
|00000c60| 61 74 65 6d 65 6e 74 20 | 6d 6f 64 65 2e 20 20 59 |atement |mode. Y|
|00000c70| 6f 75 20 63 72 65 61 74 | 65 20 61 20 42 41 53 49 |ou creat|e a BASI|
|00000c80| 43 20 70 72 6f 67 72 61 | 6d 20 62 79 20 65 6e 74 |C progra|m by ent|
|00000c90| 65 72 69 6e 67 20 61 20 | 73 65 72 69 65 73 20 6f |ering a |series o|
|00000ca0| 66 0d 0a 20 20 20 20 20 | 63 6f 6d 6d 61 6e 64 73 |f.. |commands|
|00000cb0| 2c 20 65 61 63 68 20 62 | 65 67 69 6e 6e 69 6e 67 |, each b|eginning|
|00000cc0| 20 77 69 74 68 20 61 20 | 6c 69 6e 65 20 6e 75 6d | with a |line num|
|00000cd0| 62 65 72 2e 20 20 54 68 | 65 20 63 6f 6d 6d 61 6e |ber. Th|e comman|
|00000ce0| 64 73 20 61 72 65 20 6e | 6f 74 0d 0a 20 20 20 20 |ds are n|ot.. |
|00000cf0| 20 63 61 72 72 69 65 64 | 20 6f 75 74 20 69 6d 6d | carried| out imm|
|00000d00| 65 64 69 61 74 65 6c 79 | 2c 20 62 75 74 20 61 72 |ediately|, but ar|
|00000d10| 65 20 73 74 6f 72 65 64 | 20 69 6e 20 74 68 65 20 |e stored| in the |
|00000d20| 63 6f 6d 70 75 74 65 72 | 27 73 20 6d 65 6d 6f 72 |computer|'s memor|
|00000d30| 79 20 75 6e 74 69 6c 0d | 0a 20 20 20 20 20 79 6f |y until.|. yo|
|00000d40| 75 20 69 73 73 75 65 20 | 61 20 52 55 4e 20 63 6f |u issue |a RUN co|
|00000d50| 6d 6d 61 6e 64 2e 20 20 | 53 6f 20 77 68 65 6e 20 |mmand. |So when |
|00000d60| 79 6f 75 20 65 6e 74 65 | 72 20 74 68 65 20 66 6f |you ente|r the fo|
|00000d70| 6c 6c 6f 77 69 6e 67 20 | 28 77 68 69 63 68 2c 20 |llowing |(which, |
|00000d80| 62 79 20 74 68 65 0d 0a | 20 20 20 20 20 77 61 79 |by the..| way|
|00000d90| 2c 20 63 6f 6e 73 74 69 | 74 75 74 65 73 20 61 6e |, consti|tutes an|
|00000da0| 20 61 63 74 75 61 6c 20 | 42 41 53 49 43 20 70 72 | actual |BASIC pr|
|00000db0| 6f 67 72 61 6d 29 20 61 | 74 20 74 68 65 20 1b 45 |ogram) a|t the .E|
|00000dc0| 4f 6b 1b 46 20 70 72 6f | 6d 70 74 3a 0d 0a 0d 0a |Ok.F pro|mpt:....|
|00000dd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 1b | | .|
|00000de0| 45 31 30 20 50 52 49 4e | 54 20 22 48 41 50 50 59 |E10 PRIN|T "HAPPY|
|00000df0| 20 4e 45 57 20 59 45 41 | 52 22 0d 0a 20 20 20 20 | NEW YEA|R".. |
|00000e00| 20 20 20 20 20 20 20 20 | 20 20 20 32 30 20 50 52 | | 20 PR|
|00000e10| 49 4e 54 20 35 20 2b 20 | 34 0d 0a 0d 0a 20 20 20 |INT 5 + |4.... |
|00000e20| 20 20 1b 46 79 6f 75 20 | 77 6f 6e 27 74 20 73 65 | .Fyou |won't se|
|00000e30| 65 20 61 6e 79 74 68 69 | 6e 67 20 6f 6e 20 74 68 |e anythi|ng on th|
|00000e40| 65 20 73 63 72 65 65 6e | 20 65 78 63 65 70 74 20 |e screen| except |
|00000e50| 77 68 61 74 20 79 6f 75 | 20 68 61 76 65 20 74 79 |what you| have ty|
|00000e60| 70 65 64 20 69 6e 2e 20 | 20 42 75 74 0d 0a 20 20 |ped in. | But.. |
|00000e70| 20 20 20 77 68 65 6e 20 | 79 6f 75 20 65 6e 74 65 | when |you ente|
|00000e80| 72 20 1b 45 52 55 4e 1b | 46 20 6f 6e 20 74 68 65 |r .ERUN.|F on the|
|00000e90| 20 6e 65 78 74 20 6c 69 | 6e 65 2c 20 79 6f 75 20 | next li|ne, you |
|00000ea0| 77 69 6c 6c 20 73 65 65 | 3a 0d 0a 0d 0a 20 20 20 |will see|:.... |
|00000eb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 1b 45 4f 6b | | .EOk|
|00000ec0| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00000ed0| 20 31 30 20 50 52 49 4e | 54 20 22 48 41 50 50 59 | 10 PRIN|T "HAPPY|
|00000ee0| 20 4e 45 57 20 59 45 41 | 52 22 0d 0a 20 20 20 20 | NEW YEA|R".. |
|00000ef0| 20 20 20 20 20 20 20 20 | 20 20 20 32 30 20 50 52 | | 20 PR|
|00000f00| 49 4e 54 20 35 20 2b 20 | 34 0d 0a 20 20 20 20 20 |INT 5 + |4.. |
|00000f10| 20 20 20 20 20 20 20 20 | 20 20 52 55 4e 0d 0a 20 | | RUN.. |
|00000f20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 48 41 | | HA|
|00000f30| 50 50 59 20 4e 45 57 20 | 59 45 41 52 0d 0a 20 20 |PPY NEW |YEAR.. |
|00000f40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 39 0d 0a | | 9..|
|00000f50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 4f | | O|
|00000f60| 6b 0d 0a 0d 0a 20 20 20 | 20 20 1b 46 4e 6f 74 65 |k.... | .FNote|
|00000f70| 20 74 68 61 74 20 74 68 | 65 20 1b 45 4f 6b 1b 46 | that th|e .EOk.F|
|00000f80| 20 70 72 6f 6d 70 74 20 | 72 65 74 75 72 6e 73 20 | prompt |returns |
|00000f90| 61 66 74 65 72 20 79 6f | 75 20 72 75 6e 20 74 68 |after yo|u run th|
|00000fa0| 65 20 70 72 6f 67 72 61 | 6d 2e 0d 0a 0d 0a 20 20 |e progra|m..... |
|00000fb0| 20 20 20 41 20 66 65 77 | 20 6e 6f 74 65 73 20 61 | A few| notes a|
|00000fc0| 62 6f 75 74 20 6c 69 6e | 65 20 6e 75 6d 62 65 72 |bout lin|e number|
|00000fd0| 73 20 69 6e 20 42 41 53 | 49 43 20 70 72 6f 67 72 |s in BAS|IC progr|
|00000fe0| 61 6d 73 3a 20 59 6f 75 | 20 63 61 6e 20 75 73 65 |ams: You| can use|
|00000ff0| 20 61 6e 79 0d 0a 20 20 | 20 20 20 73 65 71 75 65 | any.. | seque|
|00001000| 6e 63 65 20 6f 66 20 6e | 75 6d 62 65 72 73 20 79 |nce of n|umbers y|
|00001010| 6f 75 20 6c 69 6b 65 20 | 2d 20 6a 75 73 74 20 72 |ou like |- just r|
|00001020| 65 6d 65 6d 62 65 72 20 | 74 68 61 74 20 74 68 65 |emember |that the|
|00001030| 20 63 6f 6d 6d 61 6e 64 | 73 20 69 6e 20 79 6f 75 | command|s in you|
|00001040| 72 0d 0a 20 20 20 20 20 | 70 72 6f 67 72 61 6d 20 |r.. |program |
|00001050| 77 69 6c 6c 20 62 65 20 | 65 78 65 63 75 74 65 64 |will be |executed|
|00001060| 20 28 63 61 72 72 69 65 | 64 20 6f 75 74 29 20 69 | (carrie|d out) i|
|00001070| 6e 20 6f 72 64 65 72 20 | 6f 66 20 74 68 65 69 72 |n order |of their|
|00001080| 20 6c 69 6e 65 20 6e 75 | 6d 62 65 72 73 2e 0d 0a | line nu|mbers...|
|00001090| 20 20 20 20 20 49 6e 20 | 63 61 73 65 20 79 6f 75 | In |case you|
|000010a0| 27 72 65 20 77 6f 6e 64 | 65 72 69 6e 67 20 77 68 |'re wond|ering wh|
|000010b0| 79 20 77 65 20 75 73 65 | 64 20 1b 45 31 30 1b 46 |y we use|d .E10.F|
|000010c0| 20 61 6e 64 20 1b 45 32 | 30 1b 46 20 66 6f 72 20 | and .E2|0.F for |
|000010d0| 74 68 65 20 6c 69 6e 65 | 20 6e 75 6d 62 65 72 73 |the line| numbers|
|000010e0| 20 69 6e 0d 0a 20 20 20 | 20 20 74 68 65 20 6c 69 | in.. | the li|
|000010f0| 74 74 6c 65 20 70 72 6f | 67 72 61 6d 20 61 62 6f |ttle pro|gram abo|
|00001100| 76 65 20 69 6e 73 74 65 | 61 64 20 6f 66 20 1b 45 |ve inste|ad of .E|
|00001110| 31 1b 46 20 61 6e 64 20 | 1b 45 32 1b 46 2c 20 74 |1.F and |.E2.F, t|
|00001120| 68 69 73 20 69 73 20 6f | 6e 65 20 76 65 72 73 69 |his is o|ne versi|
|00001130| 6f 6e 20 6f 66 20 61 0d | 0a 20 20 20 20 20 73 74 |on of a.|. st|
|00001140| 61 6e 64 61 72 64 20 70 | 72 6f 67 72 61 6d 6d 69 |andard p|rogrammi|
|00001150| 6e 67 20 63 6f 6e 76 65 | 6e 74 69 6f 6e 2e 20 20 |ng conve|ntion. |
|00001160| 49 66 20 79 6f 75 20 6c | 65 61 76 65 20 67 61 70 |If you l|eave gap|
|00001170| 73 20 62 65 74 77 65 65 | 6e 20 74 68 65 20 6c 69 |s betwee|n the li|
|00001180| 6e 65 0d 0a 20 20 20 20 | 20 6e 75 6d 62 65 72 73 |ne.. | numbers|
|00001190| 20 77 68 65 6e 20 77 72 | 69 74 69 6e 67 20 61 20 | when wr|iting a |
|000011a0| 70 72 6f 67 72 61 6d 2c | 20 69 74 27 73 20 65 61 |program,| it's ea|
|000011b0| 73 79 20 74 6f 20 6d 6f | 64 69 66 79 20 79 6f 75 |sy to mo|dify you|
|000011c0| 72 20 70 72 6f 67 72 61 | 6d 20 62 79 0d 0a 20 20 |r progra|m by.. |
|000011d0| 20 20 20 69 6e 73 65 72 | 74 69 6e 67 20 6c 69 6e | inser|ting lin|
|000011e0| 65 73 20 62 65 74 77 65 | 65 6e 20 74 68 65 20 6f |es betwe|en the o|
|000011f0| 6e 65 73 20 79 6f 75 27 | 76 65 20 61 6c 72 65 61 |nes you'|ve alrea|
|00001200| 64 79 20 77 72 69 74 74 | 65 6e 2e 0d 0a 0d 0a 20 |dy writt|en..... |
|00001210| 20 20 20 20 42 65 20 63 | 61 72 65 66 75 6c 20 6e | Be c|areful n|
|00001220| 6f 74 20 74 6f 20 72 65 | 2d 75 73 65 20 61 20 6c |ot to re|-use a l|
|00001230| 69 6e 65 20 6e 75 6d 62 | 65 72 20 75 6e 69 6e 74 |ine numb|er unint|
|00001240| 65 6e 74 69 6f 6e 61 6c | 6c 79 2e 20 20 49 66 2c |entional|ly. If,|
|00001250| 20 68 61 76 69 6e 67 0d | 0a 20 20 20 20 20 65 6e | having.|. en|
|00001260| 74 65 72 65 64 20 74 68 | 65 20 61 62 6f 76 65 20 |tered th|e above |
|00001270| 70 72 6f 67 72 61 6d 2c | 20 79 6f 75 20 74 68 65 |program,| you the|
|00001280| 6e 20 65 6e 74 65 72 65 | 64 0d 0a 0d 0a 20 20 20 |n entere|d.... |
|00001290| 20 20 20 20 20 20 20 20 | 20 20 20 20 1b 45 32 30 | | .E20|
|000012a0| 20 50 52 49 4e 54 20 35 | 20 2b 20 36 0d 0a 0d 0a | PRINT 5| + 6....|
|000012b0| 20 20 20 20 20 1b 46 74 | 68 65 20 6e 65 77 20 76 | .Ft|he new v|
|000012c0| 65 72 73 69 6f 6e 20 6f | 66 20 6c 69 6e 65 20 32 |ersion o|f line 2|
|000012d0| 30 20 77 6f 75 6c 64 20 | 72 65 70 6c 61 63 65 20 |0 would |replace |
|000012e0| 74 68 65 20 6f 6c 64 20 | 6f 6e 65 2e 20 20 49 6e |the old |one. In|
|000012f0| 20 74 68 61 74 20 63 61 | 73 65 2c 0d 0a 20 20 20 | that ca|se,.. |
|00001300| 20 20 77 68 65 6e 20 79 | 6f 75 20 72 61 6e 20 74 | when y|ou ran t|
|00001310| 68 65 20 70 72 6f 67 72 | 61 6d 2c 20 74 68 65 20 |he progr|am, the |
|00001320| 6f 75 74 70 75 74 20 28 | 74 68 61 74 20 69 73 2c |output (|that is,|
|00001330| 20 77 68 61 74 20 61 70 | 70 65 61 72 73 20 6f 6e | what ap|pears on|
|00001340| 20 74 68 65 0d 0a 20 20 | 20 20 20 73 63 72 65 65 | the.. | scree|
|00001350| 6e 29 20 77 6f 75 6c 64 | 20 62 65 0d 0a 0d 0a 20 |n) would| be.... |
|00001360| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 1b 45 | | .E|
|00001370| 48 41 50 50 59 20 4e 45 | 57 20 59 45 41 52 0d 0a |HAPPY NE|W YEAR..|
|00001380| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 31 | | 1|
|00001390| 31 0d 0a 0d 0a 0d 0a 1b | 46 20 20 20 20 20 20 20 |1.......|F |
|000013a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000013b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000013c0| 1b 45 20 31 36 32 0d 0a | 0d 0a 0c 0d 0a 0d 0a 0d |.E 162..|........|
|000013d0| 0a 0d 0a 1b 46 20 20 20 | 20 1b 45 20 41 50 50 45 |....F | .E APPE|
|000013e0| 4e 44 49 58 20 43 20 1b | 46 20 20 20 20 20 20 20 |NDIX C .|F |
|000013f0| 20 20 20 20 20 20 20 1b | 45 20 20 20 20 42 41 53 | .|E BAS|
|00001400| 49 43 20 43 4f 4d 4d 41 | 4e 44 53 20 20 20 20 20 |IC COMMA|NDS |
|00001410| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 41 50 | | AP|
|00001420| 50 45 4e 44 49 58 20 43 | 0d 0a 0d 0a 0d 0a 0d 0a |PENDIX C|........|
|00001430| 20 20 20 20 20 1b 46 4f | 66 20 63 6f 75 72 73 65 | .FO|f course|
|00001440| 2c 20 79 6f 75 20 6d 69 | 67 68 74 20 77 61 6e 74 |, you mi|ght want|
|00001450| 20 74 6f 20 72 65 70 6c | 61 63 65 20 6c 69 6e 65 | to repl|ace line|
|00001460| 20 32 30 20 6f 6e 20 70 | 75 72 70 6f 73 65 20 2d | 20 on p|urpose -|
|00001470| 20 6d 61 79 62 65 20 79 | 6f 75 0d 0a 20 20 20 20 | maybe y|ou.. |
|00001480| 20 74 79 70 65 64 20 69 | 74 20 77 72 6f 6e 67 20 | typed i|t wrong |
|00001490| 74 68 65 20 66 69 72 73 | 74 20 74 69 6d 65 2e 20 |the firs|t time. |
|000014a0| 20 41 6e 64 20 79 6f 75 | 20 1b 2d 01 63 6f 75 6c | And you| .-.coul|
|000014b0| 64 1b 2d 00 20 66 69 78 | 20 69 74 20 62 79 20 73 |d.-. fix| it by s|
|000014c0| 69 6d 70 6c 79 20 74 79 | 70 69 6e 67 20 69 6e 0d |imply ty|ping in.|
|000014d0| 0a 20 20 20 20 20 74 68 | 65 20 77 68 6f 6c 65 20 |. th|e whole |
|000014e0| 6c 69 6e 65 20 61 67 61 | 69 6e 2e 20 20 42 75 74 |line aga|in. But|
|000014f0| 20 74 68 65 72 65 20 61 | 72 65 20 65 61 73 69 65 | there a|re easie|
|00001500| 72 20 77 61 79 73 20 74 | 6f 20 6d 6f 64 69 66 79 |r ways t|o modify|
|00001510| 20 6c 69 6e 65 73 20 61 | 6e 64 0d 0a 20 20 20 20 | lines a|nd.. |
|00001520| 20 63 6f 72 72 65 63 74 | 20 65 72 72 6f 72 73 2c | correct| errors,|
|00001530| 20 77 68 69 63 68 20 77 | 65 27 6c 6c 20 67 65 74 | which w|e'll get|
|00001540| 20 69 6e 74 6f 20 73 68 | 6f 72 74 6c 79 2e 0d 0a | into sh|ortly...|
|00001550| 0d 0a 0d 0a 20 20 20 20 | 20 1b 45 46 49 4c 45 20 |.... | .EFILE |
|00001560| 41 4e 44 20 45 4e 56 49 | 52 4f 4e 4d 45 4e 54 20 |AND ENVI|RONMENT |
|00001570| 43 4f 4d 4d 41 4e 44 53 | 0d 0a 0d 0a 20 20 20 20 |COMMANDS|.... |
|00001580| 20 1b 46 49 6e 20 74 68 | 65 20 6d 61 69 6e 20 73 | .FIn th|e main s|
|00001590| 65 63 74 69 6f 6e 20 6f | 66 20 74 68 69 73 20 62 |ection o|f this b|
|000015a0| 6f 6f 6b 20 79 6f 75 20 | 77 69 6c 6c 20 6c 65 61 |ook you |will lea|
|000015b0| 72 6e 20 61 6c 6c 20 61 | 62 6f 75 74 20 68 6f 77 |rn all a|bout how|
|000015c0| 20 74 6f 20 75 73 65 0d | 0a 20 20 20 20 20 42 41 | to use.|. BA|
|000015d0| 53 49 43 20 63 6f 6d 6d | 61 6e 64 73 20 74 6f 20 |SIC comm|ands to |
|000015e0| 77 72 69 74 65 20 70 72 | 6f 67 72 61 6d 73 2e 20 |write pr|ograms. |
|000015f0| 20 48 65 72 65 20 77 65 | 20 77 69 6c 6c 20 63 6f | Here we| will co|
|00001600| 6e 63 65 6e 74 72 61 74 | 65 20 6f 6e 20 63 6f 6d |ncentrat|e on com|
|00001610| 6d 61 6e 64 73 0d 0a 20 | 20 20 20 20 74 68 61 74 |mands.. | that|
|00001620| 20 61 66 66 65 63 74 20 | 77 68 6f 6c 65 20 70 72 | affect |whole pr|
|00001630| 6f 67 72 61 6d 73 20 6f | 72 20 66 69 6c 65 73 2c |ograms o|r files,|
|00001640| 20 6f 72 20 77 68 69 63 | 68 20 63 68 61 6e 67 65 | or whic|h change|
|00001650| 20 74 68 65 20 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 | the env|ironment|
|00001660| 20 69 6e 0d 0a 20 20 20 | 20 20 77 68 69 63 68 20 | in.. | which |
|00001670| 79 6f 75 20 61 72 65 20 | 77 6f 72 6b 69 6e 67 2e |you are |working.|
|00001680| 20 20 54 68 65 73 65 20 | 61 72 65 20 6e 6f 72 6d | These |are norm|
|00001690| 61 6c 6c 79 20 75 73 65 | 64 20 69 6e 20 64 69 72 |ally use|d in dir|
|000016a0| 65 63 74 20 6d 6f 64 65 | 2e 0d 0a 0d 0a 20 20 20 |ect mode|..... |
|000016b0| 20 20 1b 45 52 55 4e 0d | 0a 20 20 20 20 20 1b 46 | .ERUN.|. .F|
|000016c0| 59 6f 75 27 76 65 20 61 | 6c 72 65 61 64 79 20 73 |You've a|lready s|
|000016d0| 65 65 6e 20 74 68 61 74 | 20 74 68 65 20 1b 45 52 |een that| the .ER|
|000016e0| 55 4e 1b 46 20 63 6f 6d | 6d 61 6e 64 20 72 75 6e |UN.F com|mand run|
|000016f0| 73 20 74 68 65 20 70 72 | 6f 67 72 61 6d 20 63 75 |s the pr|ogram cu|
|00001700| 72 72 65 6e 74 6c 79 20 | 69 6e 0d 0a 20 20 20 20 |rrently |in.. |
|00001710| 20 74 68 65 20 63 6f 6d | 70 75 74 65 72 27 73 20 | the com|puter's |
|00001720| 6d 65 6d 6f 72 79 2e 20 | 20 4a 75 73 74 20 65 6e |memory. | Just en|
|00001730| 74 65 72 20 1b 45 52 55 | 4e 1b 46 20 61 66 74 65 |ter .ERU|N.F afte|
|00001740| 72 20 65 6e 74 65 72 69 | 6e 67 20 61 6c 6c 20 79 |r enteri|ng all y|
|00001750| 6f 75 72 20 6c 69 6e 65 | 73 20 6f 66 0d 0a 20 20 |our line|s of.. |
|00001760| 20 20 20 63 6f 64 65 2e | 20 20 44 6f 6e 27 74 20 | code.| Don't |
|00001770| 73 70 65 63 69 66 79 20 | 74 68 65 20 6e 61 6d 65 |specify |the name|
|00001780| 20 6f 66 20 74 68 65 20 | 70 72 6f 67 72 61 6d 20 | of the |program |
|00001790| 28 73 69 6e 63 65 20 79 | 6f 75 20 63 61 6e 20 6f |(since y|ou can o|
|000017a0| 6e 6c 79 20 68 61 76 65 | 0d 0a 20 20 20 20 20 6f |nly have|.. o|
|000017b0| 6e 65 20 70 72 6f 67 72 | 61 6d 20 69 6e 20 6d 65 |ne progr|am in me|
|000017c0| 6d 6f 72 79 20 61 74 20 | 61 20 74 69 6d 65 2c 20 |mory at |a time, |
|000017d0| 42 41 53 49 43 20 6b 6e | 6f 77 73 20 74 68 61 74 |BASIC kn|ows that|
|000017e0| 20 74 68 61 74 20 69 73 | 20 74 68 65 20 6f 6e 65 | that is| the one|
|000017f0| 20 79 6f 75 0d 0a 20 20 | 20 20 20 77 61 6e 74 20 | you.. | want |
|00001800| 74 6f 20 72 75 6e 29 2e | 0d 0a 0d 0a 20 20 20 20 |to run).|.... |
|00001810| 20 53 6f 6d 65 74 69 6d | 65 73 20 79 6f 75 20 77 | Sometim|es you w|
|00001820| 69 6c 6c 20 77 61 6e 74 | 20 74 6f 20 73 74 6f 70 |ill want| to stop|
|00001830| 20 61 20 70 72 6f 67 72 | 61 6d 20 69 6e 20 74 68 | a progr|am in th|
|00001840| 65 20 6d 69 64 64 6c 65 | 20 6f 66 20 61 20 72 75 |e middle| of a ru|
|00001850| 6e 2e 20 20 28 46 6f 72 | 0d 0a 20 20 20 20 20 65 |n. (For|.. e|
|00001860| 78 61 6d 70 6c 65 2c 20 | 69 66 20 74 68 65 20 70 |xample, |if the p|
|00001870| 72 6f 67 72 61 6d 20 67 | 65 74 73 20 63 61 75 67 |rogram g|ets caug|
|00001880| 68 74 20 69 6e 20 61 6e | 20 69 6e 66 69 6e 69 74 |ht in an| infinit|
|00001890| 65 20 6c 6f 6f 70 2c 20 | 79 6f 75 27 6c 6c 20 77 |e loop, |you'll w|
|000018a0| 61 6e 74 20 74 6f 0d 0a | 20 20 20 20 20 62 65 20 |ant to..| be |
|000018b0| 61 62 6c 65 20 74 6f 20 | 67 65 74 20 6f 75 74 20 |able to |get out |
|000018c0| 6f 66 20 74 68 65 20 70 | 72 6f 67 72 61 6d 20 61 |of the p|rogram a|
|000018d0| 6e 64 20 62 61 63 6b 20 | 74 6f 20 74 68 65 20 42 |nd back |to the B|
|000018e0| 41 53 49 43 20 70 72 6f | 6d 70 74 20 77 69 74 68 |ASIC pro|mpt with|
|000018f0| 6f 75 74 0d 0a 20 20 20 | 20 20 72 65 2d 62 6f 6f |out.. | re-boo|
|00001900| 74 69 6e 67 20 74 68 65 | 20 63 6f 6d 70 75 74 65 |ting the| compute|
|00001910| 72 2e 29 20 20 54 6f 20 | 64 6f 20 74 68 69 73 2c |r.) To |do this,|
|00001920| 20 68 6f 6c 64 20 64 6f | 77 6e 20 74 68 65 20 43 | hold do|wn the C|
|00001930| 6f 6e 74 72 6f 6c 20 6b | 65 79 20 61 6e 64 0d 0a |ontrol k|ey and..|
|00001940| 20 20 20 20 20 70 72 65 | 73 73 20 74 68 65 20 53 | pre|ss the S|
|00001950| 63 72 6f 6c 6c 20 4c 6f | 63 6b 2f 42 72 65 61 6b |croll Lo|ck/Break|
|00001960| 20 6b 65 79 20 28 74 68 | 69 73 20 69 73 20 73 6f | key (th|is is so|
|00001970| 6d 65 74 69 6d 65 73 20 | 63 61 6c 6c 65 64 20 22 |metimes |called "|
|00001980| 68 69 74 74 69 6e 67 0d | 0a 20 20 20 20 20 43 6f |hitting.|. Co|
|00001990| 6e 74 72 6f 6c 2d 42 72 | 65 61 6b 22 29 2e 0d 0a |ntrol-Br|eak")...|
|000019a0| 0d 0a 20 20 20 20 20 1b | 45 4c 49 53 54 0d 0a 20 |.. .|ELIST.. |
|000019b0| 20 20 20 20 1b 46 57 68 | 61 74 20 65 6c 73 65 20 | .FWh|at else |
|000019c0| 63 61 6e 20 79 6f 75 20 | 64 6f 20 77 69 74 68 20 |can you |do with |
|000019d0| 61 20 70 72 6f 67 72 61 | 6d 20 6f 74 68 65 72 20 |a progra|m other |
|000019e0| 74 68 61 6e 20 74 6f 20 | 52 55 4e 20 69 74 3f 20 |than to |RUN it? |
|000019f0| 57 65 6c 6c 2c 20 79 6f | 75 20 63 61 6e 0d 0a 20 |Well, yo|u can.. |
|00001a00| 20 20 20 20 4c 49 53 54 | 20 69 74 20 6f 6e 20 74 | LIST| it on t|
|00001a10| 68 65 20 73 63 72 65 65 | 6e 2e 20 20 53 69 6d 70 |he scree|n. Simp|
|00001a20| 6c 79 20 65 6e 74 65 72 | 20 1b 45 4c 49 53 54 1b |ly enter| .ELIST.|
|00001a30| 46 20 28 77 69 74 68 6f | 75 74 20 61 20 6c 69 6e |F (witho|ut a lin|
|00001a40| 65 20 6e 75 6d 62 65 72 | 29 20 61 6e 64 0d 0a 20 |e number|) and.. |
|00001a50| 20 20 20 20 74 68 65 20 | 6c 69 6e 65 73 20 6f 66 | the |lines of|
|00001a60| 20 79 6f 75 72 20 70 72 | 6f 67 72 61 6d 20 77 69 | your pr|ogram wi|
|00001a70| 6c 6c 20 62 65 20 64 69 | 73 70 6c 61 79 65 64 20 |ll be di|splayed |
|00001a80| 6f 6e 20 74 68 65 20 73 | 63 72 65 65 6e 2e 20 20 |on the s|creen. |
|00001a90| 54 68 65 0d 0a 20 20 20 | 20 20 75 73 65 66 75 6c |The.. | useful|
|00001aa0| 6e 65 73 73 20 6f 66 20 | 62 65 69 6e 67 20 61 62 |ness of |being ab|
|00001ab0| 6c 65 20 74 6f 20 4c 49 | 53 54 20 61 20 70 72 6f |le to LI|ST a pro|
|00001ac0| 67 72 61 6d 20 77 69 6c | 6c 20 62 65 20 65 76 69 |gram wil|l be evi|
|00001ad0| 64 65 6e 74 20 61 73 20 | 73 6f 6f 6e 20 61 73 0d |dent as |soon as.|
|00001ae0| 0a 20 20 20 20 20 79 6f | 75 20 61 72 65 20 77 72 |. yo|u are wr|
|00001af0| 69 74 69 6e 67 20 70 72 | 6f 67 72 61 6d 73 20 6d |iting pr|ograms m|
|00001b00| 6f 72 65 20 74 68 61 6e | 20 61 20 66 65 77 20 6c |ore than| a few l|
|00001b10| 69 6e 65 73 20 6c 6f 6e | 67 2e 20 20 54 68 65 20 |ines lon|g. The |
|00001b20| 6c 69 6e 65 73 20 77 69 | 6c 6c 20 62 65 0d 0a 20 |lines wi|ll be.. |
|00001b30| 20 20 20 20 6c 69 73 74 | 65 64 20 69 6e 20 6f 72 | list|ed in or|
|00001b40| 64 65 72 20 6f 66 20 74 | 68 65 69 72 20 6c 69 6e |der of t|heir lin|
|00001b50| 65 20 6e 75 6d 62 65 72 | 73 2c 20 6e 6f 74 20 74 |e number|s, not t|
|00001b60| 68 65 20 6f 72 64 65 72 | 20 69 6e 20 77 68 69 63 |he order| in whic|
|00001b70| 68 20 79 6f 75 20 74 79 | 70 65 64 0d 0a 20 20 20 |h you ty|ped.. |
|00001b80| 20 20 74 68 65 6d 20 69 | 6e 2e 20 20 46 6f 72 20 | them i|n. For |
|00001b90| 65 78 61 6d 70 6c 65 2c | 20 73 75 70 70 6f 73 65 |example,| suppose|
|00001ba0| 20 79 6f 75 20 77 61 6e | 74 65 64 20 74 6f 20 6d | you wan|ted to m|
|00001bb0| 6f 64 69 66 79 20 74 68 | 65 20 61 62 6f 76 65 20 |odify th|e above |
|00001bc0| 70 72 6f 67 72 61 6d 20 | 62 79 0d 0a 20 20 20 20 |program |by.. |
|00001bd0| 20 61 64 64 69 6e 67 20 | 61 20 6c 69 6e 65 20 31 | adding |a line 1|
|00001be0| 35 20 62 65 74 77 65 65 | 6e 20 6c 69 6e 65 20 31 |5 betwee|n line 1|
|00001bf0| 30 20 61 6e 64 20 6c 69 | 6e 65 20 32 30 3a 0d 0a |0 and li|ne 20:..|
|00001c00| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00001c10| 20 1b 45 31 35 20 50 52 | 49 4e 54 20 22 48 4f 57 | .E15 PR|INT "HOW|
|00001c20| 20 4d 55 43 48 20 49 53 | 20 35 20 50 4c 55 53 20 | MUCH IS| 5 PLUS |
|00001c30| 34 3f 22 0d 0a 0d 0a 20 | 20 20 20 20 1b 46 59 6f |4?".... | .FYo|
|00001c40| 75 20 63 6f 75 6c 64 20 | 6b 65 79 20 74 68 61 74 |u could |key that|
|00001c50| 20 69 6e 20 61 66 74 65 | 72 20 77 68 61 74 20 79 | in afte|r what y|
|00001c60| 6f 75 20 68 61 64 20 61 | 6c 72 65 61 64 79 20 74 |ou had a|lready t|
|00001c70| 79 70 65 64 2c 20 61 6e | 64 20 77 68 65 6e 20 79 |yped, an|d when y|
|00001c80| 6f 75 0d 0a 20 20 20 20 | 20 77 65 6e 74 20 74 6f |ou.. | went to|
|00001c90| 20 4c 49 53 54 20 74 68 | 65 20 70 72 6f 67 72 61 | LIST th|e progra|
|00001ca0| 6d 2c 20 6c 69 6e 65 20 | 31 35 20 77 6f 75 6c 64 |m, line |15 would|
|00001cb0| 20 61 70 70 65 61 72 20 | 69 6e 20 74 68 65 20 6c | appear |in the l|
|00001cc0| 69 73 74 69 6e 67 20 62 | 65 74 77 65 65 6e 0d 0a |isting b|etween..|
|00001cd0| 20 20 20 20 20 6c 69 6e | 65 20 31 30 20 61 6e 64 | lin|e 10 and|
|00001ce0| 20 6c 69 6e 65 20 32 30 | 2e 0d 0a 0d 0a 20 20 20 | line 20|..... |
|00001cf0| 20 20 49 66 20 79 6f 75 | 72 20 70 72 6f 67 72 61 | If you|r progra|
|00001d00| 6d 20 69 73 20 74 6f 6f | 20 6c 6f 6e 67 20 74 6f |m is too| long to|
|00001d10| 20 66 69 74 20 6f 6e 20 | 74 68 65 20 73 63 72 65 | fit on |the scre|
|00001d20| 65 6e 20 61 6c 6c 20 61 | 74 20 6f 6e 63 65 2c 20 |en all a|t once, |
|00001d30| 74 68 65 20 6c 69 6e 65 | 73 0d 0a 20 20 20 20 20 |the line|s.. |
|00001d40| 77 69 6c 6c 20 73 63 72 | 6f 6c 6c 20 62 79 2c 20 |will scr|oll by, |
|00001d50| 74 6f 6f 20 71 75 69 63 | 6b 6c 79 20 74 6f 20 72 |too quic|kly to r|
|00001d60| 65 61 64 2c 20 61 6e 64 | 20 77 68 65 6e 20 74 68 |ead, and| when th|
|00001d70| 65 20 73 63 72 6f 6c 6c | 69 6e 67 20 73 74 6f 70 |e scroll|ing stop|
|00001d80| 73 2c 20 6f 6e 6c 79 0d | 0a 20 20 20 20 20 74 68 |s, only.|. th|
|00001d90| 65 20 6c 61 73 74 20 74 | 77 65 6e 74 79 20 6f 72 |e last t|wenty or|
|00001da0| 20 73 6f 20 6c 69 6e 65 | 73 20 77 69 6c 6c 20 73 | so line|s will s|
|00001db0| 74 69 6c 6c 20 62 65 20 | 76 69 73 69 62 6c 65 2e |till be |visible.|
|00001dc0| 20 20 42 75 74 20 79 6f | 75 20 63 61 6e 20 70 61 | But yo|u can pa|
|00001dd0| 75 73 65 0d 0a 20 20 20 | 20 20 74 68 65 20 73 63 |use.. | the sc|
|00001de0| 72 6f 6c 6c 69 6e 67 20 | 62 79 20 68 6f 6c 64 69 |rolling |by holdi|
|00001df0| 6e 67 20 64 6f 77 6e 20 | 74 68 65 20 43 6f 6e 74 |ng down |the Cont|
|00001e00| 72 6f 6c 20 6b 65 79 20 | 61 6e 64 20 70 72 65 73 |rol key |and pres|
|00001e10| 73 69 6e 67 20 74 68 65 | 20 4e 75 6d 4c 6f 63 6b |sing the| NumLock|
|00001e20| 0d 0a 20 20 20 20 20 6b | 65 79 2e 20 20 50 72 65 |.. k|ey. Pre|
|00001e30| 73 73 20 61 6e 79 20 6f | 74 68 65 72 20 6b 65 79 |ss any o|ther key|
|00001e40| 20 74 6f 20 67 65 74 20 | 74 68 65 20 6c 69 73 74 | to get |the list|
|00001e50| 69 6e 67 20 6d 6f 76 69 | 6e 67 20 61 67 61 69 6e |ing movi|ng again|
|00001e60| 2e 0d 0a 0d 0a 0d 0a 0d | 0a 0d 0a 0d 0a 0d 0a 20 |........|....... |
|00001e70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001e80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001e90| 20 20 20 20 20 20 1b 45 | 20 31 36 33 0d 0a 0d 0a | .E| 163....|
|00001ea0| 0c 0d 0a 0d 0a 0d 0a 0d | 0a 1b 46 20 20 20 20 1b |........|..F .|
|00001eb0| 45 20 41 50 50 45 4e 44 | 49 58 20 43 20 1b 46 20 |E APPEND|IX C .F |
|00001ec0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 1b 45 20 | | .E |
|00001ed0| 20 20 20 42 41 53 49 43 | 20 43 4f 4d 4d 41 4e 44 | BASIC| COMMAND|
|00001ee0| 53 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |S | |
|00001ef0| 20 20 20 20 41 50 50 45 | 4e 44 49 58 20 43 0d 0a | APPE|NDIX C..|
|00001f00| 0d 0a 0d 0a 20 20 20 20 | 20 1b 46 59 6f 75 20 77 |.... | .FYou w|
|00001f10| 69 6c 6c 20 66 72 65 71 | 75 65 6e 74 6c 79 20 77 |ill freq|uently w|
|00001f20| 61 6e 74 20 74 6f 20 6c | 69 73 74 20 6f 6e 6c 79 |ant to l|ist only|
|00001f30| 20 61 20 70 61 72 74 20 | 6f 66 20 61 20 70 72 6f | a part |of a pro|
|00001f40| 67 72 61 6d 2e 20 20 48 | 65 72 65 27 73 20 68 6f |gram. H|ere's ho|
|00001f50| 77 0d 0a 20 20 20 20 20 | 74 6f 20 64 6f 20 69 74 |w.. |to do it|
|00001f60| 3a 0d 0a 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |:.... | |
|00001f70| 20 20 20 20 1b 45 4c 49 | 53 54 20 31 30 30 20 2d | .ELI|ST 100 -|
|00001f80| 20 33 30 30 0d 0a 0d 0a | 20 20 20 20 20 1b 46 77 | 300....| .Fw|
|00001f90| 69 6c 6c 20 6c 69 73 74 | 20 6c 69 6e 65 73 20 31 |ill list| lines 1|
|00001fa0| 30 30 20 74 68 72 6f 75 | 67 68 20 33 30 30 20 6f |00 throu|gh 300 o|
|00001fb0| 66 20 61 20 70 72 6f 67 | 72 61 6d 2c 20 69 6e 63 |f a prog|ram, inc|
|00001fc0| 6c 75 73 69 76 65 2e 20 | 20 41 6e 79 20 6e 75 6d |lusive. | Any num|
|00001fd0| 62 65 72 73 20 69 6e 0d | 0a 20 20 20 20 20 74 68 |bers in.|. th|
|00001fe0| 69 73 20 72 61 6e 67 65 | 20 77 68 69 63 68 20 64 |is range| which d|
|00001ff0| 6f 6e 27 74 20 68 61 76 | 65 20 61 63 74 75 61 6c |on't hav|e actual|
|00002000| 20 70 72 6f 67 72 61 6d | 20 6c 69 6e 65 73 20 63 | program| lines c|
|00002010| 6f 72 72 65 73 70 6f 6e | 64 69 6e 67 20 74 6f 20 |orrespon|ding to |
|00002020| 74 68 65 6d 0d 0a 20 20 | 20 20 20 77 69 6c 6c 20 |them.. | will |
|00002030| 62 65 20 69 67 6e 6f 72 | 65 64 2e 0d 0a 0d 0a 20 |be ignor|ed..... |
|00002040| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 1b 45 | | .E|
|00002050| 4c 49 53 54 20 32 30 30 | 20 2d 0d 0a 0d 0a 20 20 |LIST 200| -.... |
|00002060| 20 20 20 1b 46 77 69 6c | 6c 20 64 69 73 70 6c 61 | .Fwil|l displa|
|00002070| 79 20 6c 69 6e 65 20 32 | 30 30 20 61 6e 64 20 6f |y line 2|00 and o|
|00002080| 6e 20 75 70 77 61 72 64 | 20 74 68 72 6f 75 67 68 |n upward| through|
|00002090| 20 74 68 65 20 6c 61 73 | 74 20 6c 69 6e 65 20 6f | the las|t line o|
|000020a0| 66 20 74 68 65 0d 0a 20 | 20 20 20 20 70 72 6f 67 |f the.. | prog|
|000020b0| 72 61 6d 2e 0d 0a 0d 0a | 20 20 20 20 20 20 20 20 |ram.....| |
|000020c0| 20 20 20 20 20 20 20 1b | 45 4c 49 53 54 20 2d 20 | .|ELIST - |
|000020d0| 32 30 30 0d 0a 0d 0a 20 | 20 20 20 20 1b 46 77 69 |200.... | .Fwi|
|000020e0| 6c 6c 20 64 69 73 70 6c | 61 79 20 61 6c 6c 20 74 |ll displ|ay all t|
|000020f0| 68 65 20 6c 69 6e 65 73 | 20 66 72 6f 6d 20 74 68 |he lines| from th|
|00002100| 65 20 62 65 67 69 6e 6e | 69 6e 67 20 6f 66 20 74 |e beginn|ing of t|
|00002110| 68 65 20 70 72 6f 67 72 | 61 6d 20 75 70 20 74 68 |he progr|am up th|
|00002120| 72 6f 75 67 68 0d 0a 20 | 20 20 20 20 6c 69 6e 65 |rough.. | line|
|00002130| 20 32 30 30 2e 0d 0a 0d | 0a 0d 0a 20 20 20 20 20 | 200....|... |
|00002140| 1b 45 53 41 56 45 0d 0a | 20 20 20 20 20 1b 46 41 |.ESAVE..| .FA|
|00002150| 6e 6f 74 68 65 72 20 63 | 6f 6d 6d 61 6e 64 20 77 |nother c|ommand w|
|00002160| 68 69 63 68 20 79 6f 75 | 20 77 69 6c 6c 20 62 65 |hich you| will be|
|00002170| 20 75 73 69 6e 67 20 76 | 65 72 79 20 6f 66 74 65 | using v|ery ofte|
|00002180| 6e 20 69 73 20 1b 45 53 | 41 56 45 1b 46 2e 20 20 |n is .ES|AVE.F. |
|00002190| 54 68 65 20 53 41 56 45 | 0d 0a 20 20 20 20 20 63 |The SAVE|.. c|
|000021a0| 6f 6d 6d 61 6e 64 20 61 | 6c 6c 6f 77 73 20 79 6f |ommand a|llows yo|
|000021b0| 75 20 74 6f 20 73 61 76 | 65 20 61 20 70 72 6f 67 |u to sav|e a prog|
|000021c0| 72 61 6d 20 77 68 69 63 | 68 20 79 6f 75 20 68 61 |ram whic|h you ha|
|000021d0| 76 65 20 77 72 69 74 74 | 65 6e 20 6f 6e 20 61 20 |ve writt|en on a |
|000021e0| 66 6c 6f 70 70 79 0d 0a | 20 20 20 20 20 64 69 73 |floppy..| dis|
|000021f0| 6b 2e 20 20 54 68 69 73 | 20 69 73 20 76 65 72 79 |k. This| is very|
|00002200| 20 69 6d 70 6f 72 74 61 | 6e 74 2c 20 73 69 6e 63 | importa|nt, sinc|
|00002210| 65 20 77 68 65 6e 20 79 | 6f 75 20 77 72 69 74 65 |e when y|ou write|
|00002220| 20 61 20 70 72 6f 67 72 | 61 6d 2c 20 69 74 20 65 | a progr|am, it e|
|00002230| 78 69 73 74 73 0d 0a 20 | 20 20 20 20 69 6e 20 74 |xists.. | in t|
|00002240| 68 65 20 63 6f 6d 70 75 | 74 65 72 27 73 20 6d 65 |he compu|ter's me|
|00002250| 6d 6f 72 79 2c 20 62 75 | 74 20 77 69 6c 6c 20 62 |mory, bu|t will b|
|00002260| 65 20 67 6f 6e 65 20 66 | 6f 72 65 76 65 72 20 77 |e gone f|orever w|
|00002270| 68 65 6e 20 79 6f 75 20 | 65 78 69 74 20 42 41 53 |hen you |exit BAS|
|00002280| 49 43 0d 0a 20 20 20 20 | 20 6f 72 20 74 75 72 6e |IC.. | or turn|
|00002290| 20 6f 66 66 20 74 68 65 | 20 63 6f 6d 70 75 74 65 | off the| compute|
|000022a0| 72 2c 20 75 6e 6c 65 73 | 73 20 79 6f 75 20 73 61 |r, unles|s you sa|
|000022b0| 76 65 20 69 74 20 74 6f | 20 64 69 73 6b 2e 20 20 |ve it to| disk. |
|000022c0| 42 79 20 75 73 69 6e 67 | 20 74 68 65 20 53 41 56 |By using| the SAV|
|000022d0| 45 0d 0a 20 20 20 20 20 | 63 6f 6d 6d 61 6e 64 20 |E.. |command |
|000022e0| 61 66 74 65 72 20 79 6f | 75 20 68 61 76 65 20 74 |after yo|u have t|
|000022f0| 79 70 65 64 20 69 6e 20 | 61 20 70 72 6f 67 72 61 |yped in |a progra|
|00002300| 6d 20 28 6f 72 20 70 61 | 72 74 20 6f 66 20 61 20 |m (or pa|rt of a |
|00002310| 70 72 6f 67 72 61 6d 29 | 2c 20 79 6f 75 0d 0a 20 |program)|, you.. |
|00002320| 20 20 20 20 63 72 65 61 | 74 65 20 61 20 66 69 6c | crea|te a fil|
|00002330| 65 20 6f 6e 20 79 6f 75 | 72 20 66 6c 6f 70 70 79 |e on you|r floppy|
|00002340| 20 64 69 73 6b 20 63 6f | 6e 74 61 69 6e 69 6e 67 | disk co|ntaining|
|00002350| 20 79 6f 75 72 20 70 72 | 6f 67 72 61 6d 2e 20 20 | your pr|ogram. |
|00002360| 59 6f 75 20 63 61 6e 20 | 74 68 65 6e 0d 0a 20 20 |You can |then.. |
|00002370| 20 20 20 73 61 66 65 6c | 79 20 65 78 69 74 20 66 | safel|y exit f|
|00002380| 72 6f 6d 20 42 41 53 49 | 43 20 61 6e 64 20 74 75 |rom BASI|C and tu|
|00002390| 72 6e 20 6f 66 66 20 79 | 6f 75 72 20 63 6f 6d 70 |rn off y|our comp|
|000023a0| 75 74 65 72 2c 20 6b 6e | 6f 77 69 6e 67 20 74 68 |uter, kn|owing th|
|000023b0| 61 74 20 79 6f 75 72 0d | 0a 20 20 20 20 20 70 72 |at your.|. pr|
|000023c0| 6f 67 72 61 6d 20 63 61 | 6e 20 62 65 20 63 61 6c |ogram ca|n be cal|
|000023d0| 6c 65 64 20 75 70 20 61 | 67 61 69 6e 20 66 72 6f |led up a|gain fro|
|000023e0| 6d 20 74 68 65 20 64 69 | 73 6b 20 74 6f 20 62 65 |m the di|sk to be|
|000023f0| 20 72 75 6e 20 6f 72 20 | 6d 6f 64 69 66 69 65 64 | run or |modified|
|00002400| 2e 0d 0a 0d 0a 20 20 20 | 20 20 46 69 72 73 74 2c |..... | First,|
|00002410| 20 61 20 77 6f 72 64 20 | 61 62 6f 75 74 20 64 69 | a word |about di|
|00002420| 73 6b 20 64 72 69 76 65 | 73 3a 20 4f 6e 20 61 20 |sk drive|s: On a |
|00002430| 74 77 6f 2d 66 6c 6f 70 | 70 79 2d 64 72 69 76 65 |two-flop|py-drive|
|00002440| 20 73 79 73 74 65 6d 2c | 20 79 6f 75 20 68 61 76 | system,| you hav|
|00002450| 65 0d 0a 20 20 20 20 20 | 61 20 63 68 6f 69 63 65 |e.. |a choice|
|00002460| 20 61 62 6f 75 74 20 68 | 6f 77 20 79 6f 75 20 68 | about h|ow you h|
|00002470| 61 6e 64 6c 65 20 74 68 | 65 20 73 61 76 69 6e 67 |andle th|e saving|
|00002480| 20 61 6e 64 20 6c 6f 61 | 64 69 6e 67 20 6f 66 20 | and loa|ding of |
|00002490| 79 6f 75 72 20 70 72 6f | 67 72 61 6d 73 2e 0d 0a |your pro|grams...|
|000024a0| 20 20 20 20 20 4f 6e 65 | 20 77 61 79 20 69 73 20 | One| way is |
|000024b0| 74 6f 20 73 74 61 72 74 | 20 75 70 20 42 41 53 49 |to start| up BASI|
|000024c0| 43 20 61 73 20 64 65 73 | 63 72 69 62 65 64 20 61 |C as des|cribed a|
|000024d0| 62 6f 76 65 2c 20 74 68 | 65 6e 20 72 65 6d 6f 76 |bove, th|en remov|
|000024e0| 65 20 74 68 65 0d 0a 20 | 20 20 20 20 44 4f 53 2f |e the.. | DOS/|
|000024f0| 42 41 53 49 43 41 20 64 | 69 73 6b 20 66 72 6f 6d |BASICA d|isk from|
|00002500| 20 44 72 69 76 65 20 41 | 3a 20 61 6e 64 20 69 6e | Drive A|: and in|
|00002510| 73 65 72 74 20 79 6f 75 | 72 20 64 61 74 61 20 64 |sert you|r data d|
|00002520| 69 73 6b 20 69 6e 20 74 | 68 61 74 20 64 72 69 76 |isk in t|hat driv|
|00002530| 65 2e 0d 0a 20 20 20 20 | 20 41 6e 6f 74 68 65 72 |e... | Another|
|00002540| 20 77 61 79 20 69 73 20 | 74 6f 20 6c 65 61 76 65 | way is |to leave|
|00002550| 20 74 68 65 20 44 4f 53 | 2f 42 41 53 49 43 41 20 | the DOS|/BASICA |
|00002560| 64 69 73 6b 20 69 6e 20 | 44 72 69 76 65 20 41 3a |disk in |Drive A:|
|00002570| 20 61 6e 64 20 70 75 74 | 20 79 6f 75 72 0d 0a 20 | and put| your.. |
|00002580| 20 20 20 20 64 61 74 61 | 20 64 69 73 6b 20 69 6e | data| disk in|
|00002590| 20 44 72 69 76 65 20 42 | 3a 2e 20 20 45 69 74 68 | Drive B|:. Eith|
|000025a0| 65 72 20 6f 66 20 74 68 | 65 73 65 20 77 6f 72 6b |er of th|ese work|
|000025b0| 73 20 66 69 6e 65 2c 20 | 62 75 74 20 69 66 20 79 |s fine, |but if y|
|000025c0| 6f 75 20 63 68 6f 6f 73 | 65 0d 0a 20 20 20 20 20 |ou choos|e.. |
|000025d0| 74 68 65 20 73 65 63 6f | 6e 64 20 6d 65 74 68 6f |the seco|nd metho|
|000025e0| 64 20 79 6f 75 20 77 69 | 6c 6c 20 68 61 76 65 20 |d you wi|ll have |
|000025f0| 74 6f 20 73 70 65 63 69 | 66 79 20 44 72 69 76 65 |to speci|fy Drive|
|00002600| 20 42 3a 20 69 6e 20 79 | 6f 75 72 20 63 6f 6d 6d | B: in y|our comm|
|00002610| 61 6e 64 73 2c 20 61 73 | 0d 0a 20 20 20 20 20 69 |ands, as|.. i|
|00002620| 6c 6c 75 73 74 72 61 74 | 65 64 20 62 65 6c 6f 77 |llustrat|ed below|
|00002630| 2c 20 69 6e 20 6f 72 64 | 65 72 20 74 6f 20 74 65 |, in ord|er to te|
|00002640| 6c 6c 20 74 68 65 20 63 | 6f 6d 70 75 74 65 72 20 |ll the c|omputer |
|00002650| 74 68 61 74 20 79 6f 75 | 20 77 61 6e 74 20 69 74 |that you| want it|
|00002660| 20 74 6f 0d 0a 20 20 20 | 20 20 72 65 61 64 20 66 | to.. | read f|
|00002670| 72 6f 6d 20 61 6e 64 20 | 74 6f 20 77 72 69 74 65 |rom and |to write|
|00002680| 20 74 6f 20 44 72 69 76 | 65 20 42 3a 2e 0d 0a 0d | to Driv|e B:....|
|00002690| 0a 20 20 20 20 20 54 6f | 20 73 61 76 65 20 61 20 |. To| save a |
|000026a0| 70 72 6f 67 72 61 6d 20 | 74 6f 20 61 20 64 69 73 |program |to a dis|
|000026b0| 6b 20 69 6e 20 44 72 69 | 76 65 20 41 3a 2c 20 75 |k in Dri|ve A:, u|
|000026c0| 6e 64 65 72 20 74 68 65 | 20 6e 61 6d 65 20 1b 45 |nder the| name .E|
|000026d0| 50 52 4f 47 52 41 4d 31 | 1b 46 2c 20 65 6e 74 65 |PROGRAM1|.F, ente|
|000026e0| 72 0d 0a 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |r.... | |
|000026f0| 20 20 20 20 1b 45 53 41 | 56 45 20 22 50 52 4f 47 | .ESA|VE "PROG|
|00002700| 52 41 4d 31 22 0d 0a 0d | 0a 20 20 20 20 20 1b 46 |RAM1"...|. .F|
|00002710| 28 74 68 65 20 66 69 6e | 61 6c 20 70 61 69 72 20 |(the fin|al pair |
|00002720| 6f 66 20 71 75 6f 74 61 | 74 69 6f 6e 20 6d 61 72 |of quota|tion mar|
|00002730| 6b 73 20 69 73 20 6f 70 | 74 69 6f 6e 61 6c 2e 20 |ks is op|tional. |
|00002740| 20 54 68 65 20 66 69 72 | 73 74 20 70 61 69 72 20 | The fir|st pair |
|00002750| 69 73 20 6e 6f 74 29 2e | 0d 0a 20 20 20 20 20 49 |is not).|.. I|
|00002760| 66 20 79 6f 75 20 64 6f | 20 6e 6f 74 20 75 73 65 |f you do| not use|
|00002770| 20 61 6e 20 65 78 74 65 | 6e 73 69 6f 6e 20 77 69 | an exte|nsion wi|
|00002780| 74 68 20 79 6f 75 72 20 | 66 69 6c 65 6e 61 6d 65 |th your |filename|
|00002790| 2c 20 42 41 53 49 43 20 | 61 75 74 6f 6d 61 74 69 |, BASIC |automati|
|000027a0| 63 61 6c 6c 79 0d 0a 20 | 20 20 20 20 74 61 63 6b |cally.. | tack|
|000027b0| 73 20 6f 6e 20 61 6e 20 | 65 78 74 65 6e 73 69 6f |s on an |extensio|
|000027c0| 6e 20 6f 66 20 1b 45 2e | 42 41 53 1b 46 2e 20 20 |n of .E.|BAS.F. |
|000027d0| 54 6f 20 73 61 76 65 20 | 61 20 70 72 6f 67 72 61 |To save |a progra|
|000027e0| 6d 20 74 6f 20 61 20 64 | 69 73 6b 20 69 6e 20 44 |m to a d|isk in D|
|000027f0| 72 69 76 65 20 42 3a 2c | 0d 0a 20 20 20 20 20 65 |rive B:,|.. e|
|00002800| 6e 74 65 72 0d 0a 0d 0a | 20 20 20 20 20 20 20 20 |nter....| |
|00002810| 20 20 20 20 20 20 20 1b | 45 53 41 56 45 20 22 42 | .|ESAVE "B|
|00002820| 3a 50 52 4f 47 52 41 4d | 31 22 0d 0a 0d 0a 0d 0a |:PROGRAM|1"......|
|00002830| 0d 0a 0d 0a 1b 46 20 20 | 20 20 20 20 20 20 20 20 |.....F | |
|00002840| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002850| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 1b 45 20 | | .E |
|00002860| 31 36 34 0d 0a 0d 0a 0c | 0d 0a 0d 0a 0d 0a 0d 0a |164.....|........|
|00002870| 1b 46 20 20 20 20 1b 45 | 20 41 50 50 45 4e 44 49 |.F .E| APPENDI|
|00002880| 58 20 43 20 1b 46 20 20 | 20 20 20 20 20 20 20 20 |X C .F | |
|00002890| 20 20 20 20 1b 45 20 20 | 20 20 42 41 53 49 43 20 | .E | BASIC |
|000028a0| 43 4f 4d 4d 41 4e 44 53 | 20 20 20 20 20 20 20 20 |COMMANDS| |
|000028b0| 20 20 20 20 20 20 20 20 | 20 20 20 41 50 50 45 4e | | APPEN|
|000028c0| 44 49 58 20 43 0d 0a 0d | 0a 0d 0a 20 20 20 20 20 |DIX C...|... |
|000028d0| 1b 46 61 6e 64 20 62 65 | 20 63 61 72 65 66 75 6c |.Fand be| careful|
|000028e0| 20 61 62 6f 75 74 20 79 | 6f 75 72 20 74 79 70 69 | about y|our typi|
|000028f0| 6e 67 2e 20 20 54 68 65 | 72 65 20 6d 75 73 74 20 |ng. The|re must |
|00002900| 62 65 20 61 20 73 70 61 | 63 65 20 61 66 74 65 72 |be a spa|ce after|
|00002910| 20 74 68 65 0d 0a 20 20 | 20 20 20 63 6f 6d 6d 61 | the.. | comma|
|00002920| 6e 64 20 1b 45 53 41 56 | 45 1b 46 2e 20 20 54 68 |nd .ESAV|E.F. Th|
|00002930| 65 20 1b 45 42 3a 1b 46 | 20 6d 75 73 74 20 63 6f |e .EB:.F| must co|
|00002940| 6d 65 20 1b 2d 01 61 66 | 74 65 72 1b 2d 00 20 74 |me .-.af|ter.-. t|
|00002950| 68 65 20 66 69 72 73 74 | 20 70 61 69 72 20 6f 66 |he first| pair of|
|00002960| 20 71 75 6f 74 61 74 69 | 6f 6e 20 6d 61 72 6b 73 | quotati|on marks|
|00002970| 2e 0d 0a 20 20 20 20 20 | 54 68 65 72 65 20 69 73 |... |There is|
|00002980| 20 6e 6f 20 73 70 61 63 | 65 20 62 65 74 77 65 65 | no spac|e betwee|
|00002990| 6e 20 74 68 65 20 63 6f | 6c 6f 6e 20 61 6e 64 20 |n the co|lon and |
|000029a0| 74 68 65 20 66 69 72 73 | 74 20 63 68 61 72 61 63 |the firs|t charac|
|000029b0| 2d 74 65 72 20 6f 66 20 | 74 68 65 0d 0a 20 20 20 |-ter of |the.. |
|000029c0| 20 20 70 72 6f 67 72 61 | 6d 20 6e 61 6d 65 2e 20 | progra|m name. |
|000029d0| 20 28 41 73 20 62 65 66 | 6f 72 65 2c 20 74 68 65 | (As bef|ore, the|
|000029e0| 20 73 65 63 6f 6e 64 20 | 70 61 69 72 20 6f 66 20 | second |pair of |
|000029f0| 71 75 6f 74 61 74 69 6f | 6e 20 6d 61 72 6b 73 20 |quotatio|n marks |
|00002a00| 6d 61 79 20 62 65 0d 0a | 20 20 20 20 20 6f 6d 69 |may be..| omi|
|00002a10| 74 74 65 64 2e 29 0d 0a | 0d 0a 20 20 20 20 20 41 |tted.)..|.. A|
|00002a20| 6e 20 69 6d 70 6f 72 74 | 61 6e 74 20 74 68 69 6e |n import|ant thin|
|00002a30| 67 20 74 6f 20 6b 65 65 | 70 20 69 6e 20 6d 69 6e |g to kee|p in min|
|00002a40| 64 20 61 62 6f 75 74 20 | 74 68 65 20 1b 45 53 41 |d about |the .ESA|
|00002a50| 56 45 1b 46 20 63 6f 6d | 6d 61 6e 64 3a 20 44 6f |VE.F com|mand: Do|
|00002a60| 6e 27 74 20 77 61 69 74 | 0d 0a 20 20 20 20 20 75 |n't wait|.. u|
|00002a70| 6e 74 69 6c 20 79 6f 75 | 27 76 65 20 66 69 6e 69 |ntil you|'ve fini|
|00002a80| 73 68 65 64 20 79 6f 75 | 72 20 77 6f 72 6b 20 73 |shed you|r work s|
|00002a90| 65 73 73 69 6f 6e 20 74 | 6f 20 73 61 76 65 20 79 |ession t|o save y|
|00002aa0| 6f 75 72 20 70 72 6f 67 | 72 61 6d 20 74 6f 20 64 |our prog|ram to d|
|00002ab0| 69 73 6b 2e 0d 0a 20 20 | 20 20 20 49 6e 20 74 68 |isk... | In th|
|00002ac0| 65 20 65 76 65 6e 74 20 | 6f 66 20 61 20 70 6f 77 |e event |of a pow|
|00002ad0| 65 72 20 66 61 69 6c 75 | 72 65 2c 20 65 76 65 6e |er failu|re, even|
|00002ae0| 20 61 20 6d 6f 6d 65 6e | 74 61 72 79 20 6f 6e 65 | a momen|tary one|
|00002af0| 2c 20 74 68 65 20 65 66 | 66 65 63 74 20 77 69 6c |, the ef|fect wil|
|00002b00| 6c 0d 0a 20 20 20 20 20 | 70 72 6f 62 61 62 6c 79 |l.. |probably|
|00002b10| 20 62 65 20 74 68 65 20 | 73 61 6d 65 20 61 73 20 | be the |same as |
|00002b20| 69 66 20 79 6f 75 20 74 | 75 72 6e 65 64 20 6f 66 |if you t|urned of|
|00002b30| 66 20 79 6f 75 72 20 63 | 6f 6d 70 75 74 65 72 2e |f your c|omputer.|
|00002b40| 20 20 54 68 61 74 27 73 | 20 72 69 67 68 74 2c 0d | That's| right,.|
|00002b50| 0a 20 20 20 20 20 74 68 | 65 20 63 6f 6d 70 75 74 |. th|e comput|
|00002b60| 65 72 27 73 20 6d 65 6d | 6f 72 79 20 77 69 6c 6c |er's mem|ory will|
|00002b70| 20 65 6d 70 74 79 20 6f | 75 74 20 61 6e 64 20 79 | empty o|ut and y|
|00002b80| 6f 75 72 20 70 72 6f 67 | 72 61 6d 20 28 61 6e 64 |our prog|ram (and|
|00002b90| 20 74 68 65 20 42 41 53 | 49 43 0d 0a 20 20 20 20 | the BAS|IC.. |
|00002ba0| 20 69 6e 74 65 72 70 72 | 65 74 65 72 29 20 77 69 | interpr|eter) wi|
|00002bb0| 6c 6c 20 76 61 6e 69 73 | 68 2e 20 20 59 6f 75 20 |ll vanis|h. You |
|00002bc0| 63 61 6e 20 61 6c 77 61 | 79 73 20 72 65 2d 6c 6f |can alwa|ys re-lo|
|00002bd0| 61 64 20 42 41 53 49 43 | 2c 20 62 75 74 20 61 6e |ad BASIC|, but an|
|00002be0| 79 0d 0a 20 20 20 20 20 | 61 64 64 69 74 69 6f 6e |y.. |addition|
|00002bf0| 73 20 61 6e 64 20 63 68 | 61 6e 67 65 73 20 79 6f |s and ch|anges yo|
|00002c00| 75 20 68 61 76 65 20 6d | 61 64 65 20 74 6f 20 79 |u have m|ade to y|
|00002c10| 6f 75 72 20 70 72 6f 67 | 72 61 6d 20 73 69 6e 63 |our prog|ram sinc|
|00002c20| 65 20 79 6f 75 72 20 6c | 61 73 74 20 53 41 56 45 |e your l|ast SAVE|
|00002c30| 0d 0a 20 20 20 20 20 77 | 69 6c 6c 20 62 65 20 6c |.. w|ill be l|
|00002c40| 6f 73 74 2e 20 20 41 6c | 73 6f 2c 20 62 65 67 69 |ost. Al|so, begi|
|00002c50| 6e 6e 65 72 73 20 73 6f | 6d 65 74 69 6d 65 73 20 |nners so|metimes |
|00002c60| 65 6e 63 6f 75 6e 74 65 | 72 20 74 68 65 20 64 72 |encounte|r the dr|
|00002c70| 65 61 64 20 22 6b 65 79 | 62 6f 61 72 64 0d 0a 20 |ead "key|board.. |
|00002c80| 20 20 20 20 6c 6f 63 6b | 2d 75 70 22 20 73 79 6e | lock|-up" syn|
|00002c90| 64 72 6f 6d 65 2e 20 20 | 57 68 65 6e 20 74 68 69 |drome. |When thi|
|00002ca0| 73 20 68 61 70 70 65 6e | 73 2c 20 74 68 65 20 73 |s happen|s, the s|
|00002cb0| 63 72 65 65 6e 20 64 69 | 73 70 6c 61 79 20 77 69 |creen di|splay wi|
|00002cc0| 6c 6c 20 66 72 65 65 7a | 65 0d 0a 20 20 20 20 20 |ll freez|e.. |
|00002cd0| 61 6e 64 20 70 6f 75 6e | 64 69 6e 67 20 6f 6e 20 |and poun|ding on |
|00002ce0| 74 68 65 20 6b 65 79 73 | 20 77 69 6c 6c 20 68 61 |the keys| will ha|
|00002cf0| 76 65 20 6e 6f 20 65 66 | 66 65 63 74 2e 20 20 4f |ve no ef|fect. O|
|00002d00| 66 74 65 6e 20 74 68 65 | 20 6f 6e 6c 79 20 77 61 |ften the| only wa|
|00002d10| 79 20 74 6f 0d 0a 20 20 | 20 20 20 72 65 63 6f 76 |y to.. | recov|
|00002d20| 65 72 20 66 72 6f 6d 20 | 61 20 22 6c 6f 63 6b 65 |er from |a "locke|
|00002d30| 64 22 20 6b 65 79 62 6f | 61 72 64 20 69 73 20 74 |d" keybo|ard is t|
|00002d40| 6f 20 72 65 2d 62 6f 6f | 74 20 74 68 65 20 63 6f |o re-boo|t the co|
|00002d50| 6d 70 75 74 65 72 2e 20 | 20 54 68 65 20 6d 6f 72 |mputer. | The mor|
|00002d60| 65 0d 0a 20 20 20 20 20 | 74 69 6d 65 20 74 68 61 |e.. |time tha|
|00002d70| 74 20 68 61 73 20 70 61 | 73 73 65 64 20 73 69 6e |t has pa|ssed sin|
|00002d80| 63 65 20 79 6f 75 72 20 | 6c 61 73 74 20 53 41 56 |ce your |last SAV|
|00002d90| 45 2c 20 74 68 65 20 6d | 6f 72 65 20 6c 69 6e 65 |E, the m|ore line|
|00002da0| 73 20 6f 66 20 70 72 6f | 67 72 61 6d 0d 0a 20 20 |s of pro|gram.. |
|00002db0| 20 20 20 63 6f 64 65 20 | 79 6f 75 20 77 69 6c 6c | code |you will|
|00002dc0| 20 68 61 76 65 20 74 6f | 20 72 65 2d 65 6e 74 65 | have to| re-ente|
|00002dd0| 72 2e 0d 0a 0d 0a 20 20 | 20 20 20 53 6f 20 72 65 |r..... | So re|
|00002de0| 6d 65 6d 62 65 72 20 74 | 6f 20 73 61 76 65 20 79 |member t|o save y|
|00002df0| 6f 75 72 20 77 6f 72 6b | 20 6f 66 74 65 6e 21 1b |our work| often!.|
|00002e00| 45 20 1b 46 20 45 76 65 | 72 79 20 74 65 6e 20 6d |E .F Eve|ry ten m|
|00002e10| 69 6e 75 74 65 73 20 74 | 6f 20 68 61 6c 66 20 68 |inutes t|o half h|
|00002e20| 6f 75 72 20 69 73 0d 0a | 20 20 20 20 20 61 20 67 |our is..| a g|
|00002e30| 6f 6f 64 20 72 75 6c 65 | 20 6f 66 20 74 68 75 6d |ood rule| of thum|
|00002e40| 62 2c 20 64 65 70 65 6e | 64 69 6e 67 20 6f 6e 20 |b, depen|ding on |
|00002e50| 68 6f 77 20 6d 75 63 68 | 20 74 79 70 69 6e 67 20 |how much| typing |
|00002e60| 79 6f 75 20 61 72 65 20 | 64 6f 69 6e 67 2e 0d 0a |you are |doing...|
|00002e70| 0d 0a 20 20 20 20 20 4f | 6e 65 20 63 61 75 74 69 |.. O|ne cauti|
|00002e80| 6f 6e 20 61 73 20 74 6f | 20 74 68 65 20 1b 45 53 |on as to| the .ES|
|00002e90| 41 56 45 1b 46 20 63 6f | 6d 6d 61 6e 64 20 2d 20 |AVE.F co|mmand - |
|00002ea0| 69 66 20 79 6f 75 20 64 | 65 63 69 64 65 20 74 6f |if you d|ecide to|
|00002eb0| 20 73 61 76 65 20 79 6f | 75 72 20 70 72 6f 67 72 | save yo|ur progr|
|00002ec0| 61 6d 0d 0a 20 20 20 20 | 20 61 73 20 22 48 4f 4d |am.. | as "HOM|
|00002ed0| 45 57 4f 52 4b 2e 42 41 | 53 22 20 61 6e 64 20 61 |EWORK.BA|S" and a|
|00002ee0| 20 66 69 6c 65 20 6e 61 | 6d 65 64 20 48 4f 4d 45 | file na|med HOME|
|00002ef0| 57 4f 52 4b 2e 42 41 53 | 20 61 6c 72 65 61 64 79 |WORK.BAS| already|
|00002f00| 20 65 78 69 73 74 73 20 | 6f 6e 20 79 6f 75 72 0d | exists |on your.|
|00002f10| 0a 20 20 20 20 20 66 6c | 6f 70 70 79 20 64 69 73 |. fl|oppy dis|
|00002f20| 6b 2c 20 74 68 65 20 65 | 78 69 73 74 69 6e 67 20 |k, the e|xisting |
|00002f30| 66 69 6c 65 20 48 4f 4d | 45 57 4f 52 4b 2e 42 41 |file HOM|EWORK.BA|
|00002f40| 53 20 77 69 6c 6c 20 62 | 65 20 6f 76 65 72 2d 77 |S will b|e over-w|
|00002f50| 72 69 74 74 65 6e 20 62 | 79 20 74 68 65 0d 0a 20 |ritten b|y the.. |
|00002f60| 20 20 20 20 6e 65 77 20 | 6f 6e 65 2e 20 20 54 68 | new |one. Th|
|00002f70| 69 73 20 69 73 20 6e 6f | 72 6d 61 6c 6c 79 20 77 |is is no|rmally w|
|00002f80| 68 61 74 20 79 6f 75 20 | 77 61 6e 74 20 74 6f 20 |hat you |want to |
|00002f90| 68 61 70 70 65 6e 20 2d | 20 79 6f 75 20 73 61 76 |happen -| you sav|
|00002fa0| 65 64 0d 0a 20 20 20 20 | 20 22 48 4f 4d 45 57 4f |ed.. | "HOMEWO|
|00002fb0| 52 4b 2e 42 41 53 22 20 | 61 20 77 68 69 6c 65 20 |RK.BAS" |a while |
|00002fc0| 62 61 63 6b 20 61 6e 64 | 20 6e 6f 77 2c 20 68 61 |back and| now, ha|
|00002fd0| 76 69 6e 67 20 6d 6f 64 | 69 66 69 65 64 20 28 61 |ving mod|ified (a|
|00002fe0| 6e 64 20 68 6f 70 65 66 | 75 6c 6c 79 0d 0a 20 20 |nd hopef|ully.. |
|00002ff0| 20 20 20 69 6d 70 72 6f | 76 65 64 29 20 69 74 2c | impro|ved) it,|
|00003000| 20 79 6f 75 20 77 61 6e | 74 20 74 6f 20 72 65 70 | you wan|t to rep|
|00003010| 6c 61 63 65 20 74 68 65 | 20 6f 6c 64 20 6f 6e 2d |lace the| old on-|
|00003020| 64 69 73 6b 20 76 65 72 | 73 69 6f 6e 20 77 69 74 |disk ver|sion wit|
|00003030| 68 20 74 68 65 20 6e 65 | 77 0d 0a 20 20 20 20 20 |h the ne|w.. |
|00003040| 6f 6e 65 2e 20 20 42 75 | 74 20 74 68 65 72 65 20 |one. Bu|t there |
|00003050| 69 73 20 73 6f 6d 65 20 | 64 61 6e 67 65 72 20 68 |is some |danger h|
|00003060| 65 72 65 20 69 6e 20 74 | 68 61 74 20 74 68 65 20 |ere in t|hat the |
|00003070| 48 4f 4d 45 57 4f 52 4b | 2e 42 41 53 20 77 68 69 |HOMEWORK|.BAS whi|
|00003080| 63 68 0d 0a 20 20 20 20 | 20 65 78 69 73 74 65 64 |ch.. | existed|
|00003090| 20 6f 6e 20 79 6f 75 72 | 20 64 69 73 6b 20 6d 69 | on your| disk mi|
|000030a0| 67 68 74 20 62 65 20 61 | 20 63 6f 6d 70 6c 65 74 |ght be a| complet|
|000030b0| 65 6c 79 20 64 69 66 66 | 65 72 65 6e 74 20 70 72 |ely diff|erent pr|
|000030c0| 6f 67 72 61 6d 20 77 68 | 69 63 68 20 79 6f 75 0d |ogram wh|ich you.|
|000030d0| 0a 20 20 20 20 20 64 6f | 20 1b 2d 01 6e 6f 74 1b |. do| .-.not.|
|000030e0| 2d 00 20 77 61 6e 74 20 | 74 6f 20 64 65 73 74 72 |-. want |to destr|
|000030f0| 6f 79 2e 20 20 54 68 65 | 20 1b 45 53 41 56 45 1b |oy. The| .ESAVE.|
|00003100| 46 20 63 6f 6d 6d 61 6e | 64 2c 20 6c 69 6b 65 20 |F comman|d, like |
|00003110| 74 68 65 20 1b 45 43 4f | 50 59 1b 46 20 63 6f 6d |the .ECO|PY.F com|
|00003120| 6d 61 6e 64 20 69 6e 20 | 44 4f 53 2c 0d 0a 20 20 |mand in |DOS,.. |
|00003130| 20 20 20 67 6f 65 73 20 | 61 68 65 61 64 20 61 6e | goes |ahead an|
|00003140| 64 20 77 69 70 65 73 20 | 6f 75 74 20 74 68 65 20 |d wipes |out the |
|00003150| 6f 6c 64 20 66 69 6c 65 | 2e 20 20 53 6f 20 62 65 |old file|. So be|
|00003160| 20 63 61 72 65 66 75 6c | 20 61 62 6f 75 74 20 66 | careful| about f|
|00003170| 69 6c 65 6e 61 6d 65 73 | 2e 0d 0a 0d 0a 20 20 20 |ilenames|..... |
|00003180| 20 20 1b 45 46 49 4c 45 | 53 0d 0a 20 20 20 20 20 | .EFILE|S.. |
|00003190| 1b 46 48 6f 77 20 63 61 | 6e 20 79 6f 75 20 74 65 |.FHow ca|n you te|
|000031a0| 6c 6c 20 77 68 65 74 68 | 65 72 20 74 68 65 72 65 |ll wheth|er there|
|000031b0| 20 69 73 20 61 6c 72 65 | 61 64 79 20 61 20 66 69 | is alre|ady a fi|
|000031c0| 6c 65 20 6f 6e 20 79 6f | 75 72 20 64 69 73 6b 20 |le on yo|ur disk |
|000031d0| 77 69 74 68 20 74 68 65 | 0d 0a 20 20 20 20 20 66 |with the|.. f|
|000031e0| 69 6c 65 6e 61 6d 65 20 | 79 6f 75 20 77 61 6e 74 |ilename |you want|
|000031f0| 20 74 6f 20 75 73 65 20 | 66 6f 72 20 79 6f 75 72 | to use |for your|
|00003200| 20 6e 65 77 20 70 72 6f | 67 72 61 6d 3f 20 45 61 | new pro|gram? Ea|
|00003210| 73 79 3b 20 65 6e 74 65 | 72 20 74 68 65 20 1b 45 |sy; ente|r the .E|
|00003220| 46 49 4c 45 53 0d 0a 20 | 20 20 20 20 1b 46 63 6f |FILES.. | .Fco|
|00003230| 6d 6d 61 6e 64 20 61 74 | 20 74 68 65 20 1b 45 4f |mmand at| the .EO|
|00003240| 6b 1b 46 20 70 72 6f 6d | 70 74 2c 20 61 6e 64 20 |k.F prom|pt, and |
|00003250| 74 68 65 20 6e 61 6d 65 | 73 20 6f 66 20 61 6c 6c |the name|s of all|
|00003260| 20 74 68 65 20 66 69 6c | 65 73 20 6f 6e 20 74 68 | the fil|es on th|
|00003270| 65 20 63 75 72 72 65 6e | 74 0d 0a 20 20 20 20 20 |e curren|t.. |
|00003280| 64 65 66 61 75 6c 74 20 | 64 69 73 6b 20 64 72 69 |default |disk dri|
|00003290| 76 65 20 77 69 6c 6c 20 | 62 65 20 64 69 73 70 6c |ve will |be displ|
|000032a0| 61 79 65 64 20 6f 6e 20 | 74 68 65 20 73 63 72 65 |ayed on |the scre|
|000032b0| 65 6e 2e 20 20 49 66 20 | 79 6f 75 72 20 77 6f 72 |en. If |your wor|
|000032c0| 6b 69 6e 67 0d 0a 20 20 | 20 20 20 64 69 73 6b 2c |king.. | disk,|
|000032d0| 20 77 69 74 68 20 79 6f | 75 72 20 6f 77 6e 20 70 | with yo|ur own p|
|000032e0| 72 6f 67 72 61 6d 73 20 | 6f 6e 20 69 74 2c 20 69 |rograms |on it, i|
|000032f0| 73 20 69 6e 20 44 72 69 | 76 65 20 42 3a 2c 20 65 |s in Dri|ve B:, e|
|00003300| 6e 74 65 72 0d 0a 0d 0a | 20 20 20 20 20 20 20 20 |nter....| |
|00003310| 20 20 20 20 20 20 20 1b | 45 46 49 4c 45 53 20 22 | .|EFILES "|
|00003320| 42 3a 22 0d 0a 0d 0a 20 | 20 20 20 20 1b 46 74 6f |B:".... | .Fto|
|00003330| 20 64 69 73 70 6c 61 79 | 20 74 68 65 20 66 69 6c | display| the fil|
|00003340| 65 6e 61 6d 65 73 2e 20 | 20 54 68 69 73 20 69 73 |enames. | This is|
|00003350| 20 6c 69 6b 65 20 67 69 | 76 69 6e 67 20 74 68 65 | like gi|ving the|
|00003360| 20 1b 45 44 49 52 2f 57 | 1b 46 20 63 6f 6d 6d 61 | .EDIR/W|.F comma|
|00003370| 6e 64 20 61 74 20 74 68 | 65 0d 0a 20 20 20 20 20 |nd at th|e.. |
|00003380| 44 4f 53 20 70 72 6f 6d | 70 74 2e 20 20 28 42 65 |DOS prom|pt. (Be|
|00003390| 73 69 64 65 73 20 67 69 | 76 69 6e 67 20 79 6f 75 |sides gi|ving you|
|000033a0| 20 61 20 6c 69 73 74 20 | 6f 66 20 66 69 6c 65 6e | a list |of filen|
|000033b0| 61 6d 65 73 2c 20 69 74 | 20 61 6c 73 6f 20 73 68 |ames, it| also sh|
|000033c0| 6f 77 73 20 79 6f 75 0d | 0a 20 20 20 20 20 68 6f |ows you.|. ho|
|000033d0| 77 20 6d 75 63 68 20 66 | 72 65 65 20 73 70 61 63 |w much f|ree spac|
|000033e0| 65 2c 20 69 6e 20 62 79 | 74 65 73 2c 20 69 73 20 |e, in by|tes, is |
|000033f0| 6c 65 66 74 20 6f 6e 20 | 79 6f 75 72 20 64 69 73 |left on |your dis|
|00003400| 6b 2e 29 20 20 54 68 65 | 20 64 69 66 66 65 72 65 |k.) The| differe|
|00003410| 6e 63 65 0d 0a 20 20 20 | 20 20 62 65 74 77 65 65 |nce.. | betwee|
|00003420| 6e 20 74 68 65 20 1b 45 | 46 49 4c 45 53 1b 46 20 |n the .E|FILES.F |
|00003430| 63 6f 6d 6d 61 6e 64 20 | 61 6e 64 20 74 68 65 20 |command |and the |
|00003440| 1b 45 44 49 52 1b 46 20 | 63 6f 6d 6d 61 6e 64 20 |.EDIR.F |command |
|00003450| 69 73 20 74 68 61 74 20 | 74 68 65 20 1b 45 46 49 |is that |the .EFI|
|00003460| 4c 45 53 1b 46 20 63 6f | 6d 6d 61 6e 64 0d 0a 20 |LES.F co|mmand.. |
|00003470| 20 20 20 20 6d 75 73 74 | 20 62 65 20 67 69 76 65 | must| be give|
|00003480| 6e 20 66 72 6f 6d 20 77 | 69 74 68 69 6e 20 42 41 |n from w|ithin BA|
|00003490| 53 49 43 20 28 61 74 20 | 74 68 65 20 1b 45 4f 6b |SIC (at |the .EOk|
|000034a0| 1b 46 20 70 72 6f 6d 70 | 74 29 2c 20 77 68 69 6c |.F promp|t), whil|
|000034b0| 65 20 74 68 65 20 1b 45 | 44 49 52 0d 0a 20 20 20 |e the .E|DIR.. |
|000034c0| 20 20 1b 46 63 6f 6d 6d | 61 6e 64 20 6d 75 73 74 | .Fcomm|and must|
|000034d0| 20 62 65 20 67 69 76 65 | 6e 20 61 74 20 74 68 65 | be give|n at the|
|000034e0| 20 6f 70 65 72 61 74 69 | 6e 67 20 73 79 73 74 65 | operati|ng syste|
|000034f0| 6d 20 6c 65 76 65 6c 2c | 20 61 74 20 74 68 65 20 |m level,| at the |
|00003500| 1b 45 41 3e 1b 46 2c 20 | 1b 45 42 3e 1b 46 2c 20 |.EA>.F, |.EB>.F, |
|00003510| 6f 72 0d 0a 20 20 20 20 | 20 1b 45 43 3e 1b 46 20 |or.. | .EC>.F |
|00003520| 70 72 6f 6d 70 74 2e 20 | 20 49 66 20 79 6f 75 20 |prompt. | If you |
|00003530| 74 72 79 20 74 6f 20 67 | 69 76 65 20 74 68 65 20 |try to g|ive the |
|00003540| 1b 45 44 49 52 1b 46 20 | 63 6f 6d 6d 61 6e 64 20 |.EDIR.F |command |
|00003550| 66 72 6f 6d 20 77 69 74 | 68 69 6e 20 42 41 53 49 |from wit|hin BASI|
|00003560| 43 2c 20 79 6f 75 27 6c | 6c 0d 0a 20 20 20 20 20 |C, you'l|l.. |
|00003570| 67 65 74 20 61 6e 20 65 | 72 72 6f 72 20 6d 65 73 |get an e|rror mes|
|00003580| 73 61 67 65 20 2d 20 61 | 6e 64 20 74 68 65 20 73 |sage - a|nd the s|
|00003590| 61 6d 65 20 74 68 69 6e | 67 20 77 69 6c 6c 20 68 |ame thin|g will h|
|000035a0| 61 70 70 65 6e 20 69 66 | 20 79 6f 75 20 74 72 79 |appen if| you try|
|000035b0| 20 74 6f 20 67 69 76 65 | 0d 0a 20 20 20 20 20 74 | to give|.. t|
|000035c0| 68 65 20 1b 45 46 49 4c | 45 53 1b 46 20 63 6f 6d |he .EFIL|ES.F com|
|000035d0| 6d 61 6e 64 20 61 74 20 | 74 68 65 20 44 4f 53 20 |mand at |the DOS |
|000035e0| 70 72 6f 6d 70 74 2e 20 | 20 49 66 20 79 6f 75 27 |prompt. | If you'|
|000035f0| 72 65 20 67 65 74 74 69 | 6e 67 20 61 6e 6e 6f 79 |re getti|ng annoy|
|00003600| 65 64 20 61 74 20 74 68 | 69 73 0d 0a 20 20 20 20 |ed at th|is.. |
|00003610| 20 70 6f 69 6e 74 20 74 | 68 61 74 20 79 6f 75 20 | point t|hat you |
|00003620| 68 61 76 65 20 74 6f 20 | 6c 65 61 72 6e 20 74 77 |have to |learn tw|
|00003630| 6f 20 73 65 74 73 20 6f | 66 20 63 6f 6d 6d 61 6e |o sets o|f comman|
|00003640| 64 73 2c 20 6f 6e 65 20 | 66 6f 72 20 44 4f 53 20 |ds, one |for DOS |
|00003650| 61 6e 64 20 6f 6e 65 0d | 0a 0d 0a 0d 0a 20 20 20 |and one.|..... |
|00003660| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003670| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003680| 20 20 20 20 1b 45 20 31 | 36 35 0d 0a 0d 0a 0c 0d | .E 1|65......|
|00003690| 0a 0d 0a 0d 0a 0d 0a 1b | 46 20 20 20 20 1b 45 20 |........|F .E |
|000036a0| 41 50 50 45 4e 44 49 58 | 20 43 20 1b 46 20 20 20 |APPENDIX| C .F |
|000036b0| 20 20 20 20 20 20 20 20 | 20 20 20 1b 45 20 20 20 | | .E |
|000036c0| 20 42 41 53 49 43 20 43 | 4f 4d 4d 41 4e 44 53 20 | BASIC C|OMMANDS |
|000036d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000036e0| 20 20 41 50 50 45 4e 44 | 49 58 20 43 0d 0a 0d 0a | APPEND|IX C....|
|000036f0| 0d 0a 20 20 20 20 20 1b | 46 66 6f 72 20 42 41 53 |.. .|Ffor BAS|
|00003700| 49 43 2c 20 74 72 79 20 | 74 6f 20 74 68 69 6e 6b |IC, try |to think|
|00003710| 20 6f 66 20 69 74 20 61 | 73 20 61 6e 20 65 78 74 | of it a|s an ext|
|00003720| 72 61 20 63 6f 6e 76 65 | 6e 69 65 6e 63 65 20 2d |ra conve|nience -|
|00003730| 20 79 6f 75 20 63 61 6e | 20 63 68 65 63 6b 20 6f | you can| check o|
|00003740| 6e 0d 0a 20 20 20 20 20 | 74 68 65 20 6e 61 6d 65 |n.. |the name|
|00003750| 73 20 6f 66 20 74 68 65 | 20 66 69 6c 65 73 20 6f |s of the| files o|
|00003760| 6e 20 79 6f 75 72 20 64 | 69 73 6b 20 77 69 74 68 |n your d|isk with|
|00003770| 6f 75 74 20 68 61 76 69 | 6e 67 20 74 6f 20 65 78 |out havi|ng to ex|
|00003780| 69 74 20 66 72 6f 6d 20 | 42 41 53 49 43 2e 0d 0a |it from |BASIC...|
|00003790| 0d 0a 20 20 20 20 20 1b | 45 4c 4f 41 44 0d 0a 20 |.. .|ELOAD.. |
|000037a0| 20 20 20 20 1b 46 4e 6f | 77 20 74 68 61 74 20 79 | .FNo|w that y|
|000037b0| 6f 75 20 6b 6e 6f 77 20 | 68 6f 77 20 74 6f 20 73 |ou know |how to s|
|000037c0| 61 76 65 20 61 20 70 72 | 6f 67 72 61 6d 20 74 6f |ave a pr|ogram to|
|000037d0| 20 64 69 73 6b 2c 20 79 | 6f 75 20 6e 65 65 64 20 | disk, y|ou need |
|000037e0| 74 6f 20 6b 6e 6f 77 20 | 68 6f 77 20 74 6f 0d 0a |to know |how to..|
|000037f0| 20 20 20 20 20 63 61 6c | 6c 20 69 74 20 62 61 63 | cal|l it bac|
|00003800| 6b 20 75 70 20 61 67 61 | 69 6e 20 64 75 72 69 6e |k up aga|in durin|
|00003810| 67 20 61 20 73 75 62 73 | 65 71 75 65 6e 74 20 77 |g a subs|equent w|
|00003820| 6f 72 6b 20 73 65 73 73 | 69 6f 6e 2e 20 20 41 6c |ork sess|ion. Al|
|00003830| 6c 20 72 69 67 68 74 2c | 20 79 6f 75 0d 0a 20 20 |l right,| you.. |
|00003840| 20 20 20 68 61 76 65 20 | 69 6e 73 65 72 74 65 64 | have |inserted|
|00003850| 20 79 6f 75 72 20 4d 53 | 2d 44 4f 53 2f 42 41 53 | your MS|-DOS/BAS|
|00003860| 49 43 41 20 64 69 73 6b | 20 69 6e 20 74 68 65 20 |ICA disk| in the |
|00003870| 63 6f 6d 70 75 74 65 72 | 2c 20 74 75 72 6e 65 64 |computer|, turned|
|00003880| 20 6f 6e 20 74 68 65 0d | 0a 20 20 20 20 20 70 6f | on the.|. po|
|00003890| 77 65 72 2c 20 61 6e 64 | 20 73 74 61 72 74 65 64 |wer, and| started|
|000038a0| 20 75 70 20 42 41 53 49 | 43 2e 20 20 54 6f 20 74 | up BASI|C. To t|
|000038b0| 72 61 6e 73 66 65 72 20 | 61 20 70 72 6f 67 72 61 |ransfer |a progra|
|000038c0| 6d 20 63 61 6c 6c 65 64 | 0d 0a 20 20 20 20 20 22 |m called|.. "|
|000038d0| 48 4f 4d 45 57 4f 52 4b | 2e 42 41 53 22 20 66 72 |HOMEWORK|.BAS" fr|
|000038e0| 6f 6d 20 61 20 64 69 73 | 6b 20 69 6e 20 44 72 69 |om a dis|k in Dri|
|000038f0| 76 65 20 41 3a 20 69 6e | 74 6f 20 74 68 65 20 63 |ve A: in|to the c|
|00003900| 6f 6d 70 75 74 65 72 27 | 73 20 6d 65 6d 6f 72 79 |omputer'|s memory|
|00003910| 2c 20 65 6e 74 65 72 0d | 0a 0d 0a 20 20 20 20 20 |, enter.|... |
|00003920| 20 20 20 20 20 20 20 20 | 20 20 1b 45 4c 4f 41 44 | | .ELOAD|
|00003930| 20 22 48 4f 4d 45 57 4f | 52 4b 2e 42 41 53 22 0d | "HOMEWO|RK.BAS".|
|00003940| 0a 0d 0a 20 20 20 20 20 | 1b 46 6f 72 2c 20 69 66 |... |.For, if|
|00003950| 20 74 68 61 74 20 70 72 | 6f 67 72 61 6d 20 69 73 | that pr|ogram is|
|00003960| 20 6f 6e 20 61 20 64 69 | 73 6b 20 69 6e 20 44 72 | on a di|sk in Dr|
|00003970| 69 76 65 20 42 3a 2c 20 | 65 6e 74 65 72 0d 0a 0d |ive B:, |enter...|
|00003980| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00003990| 1b 45 4c 4f 41 44 20 22 | 42 3a 48 4f 4d 45 57 4f |.ELOAD "|B:HOMEWO|
|000039a0| 52 4b 2e 42 41 53 22 0d | 0a 0d 0a 20 20 20 20 20 |RK.BAS".|... |
|000039b0| 1b 46 59 6f 75 20 63 61 | 6e 20 73 61 76 65 20 79 |.FYou ca|n save y|
|000039c0| 6f 75 72 73 65 6c 66 20 | 61 20 66 65 77 20 6b 65 |ourself |a few ke|
|000039d0| 79 73 74 72 6f 6b 65 73 | 20 62 79 20 61 62 62 72 |ystrokes| by abbr|
|000039e0| 65 76 69 61 74 69 6e 67 | 20 74 68 69 73 20 74 6f |eviating| this to|
|000039f0| 0d 0a 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00003a00| 20 20 20 1b 45 4c 4f 41 | 44 20 22 48 4f 4d 45 57 | .ELOA|D "HOMEW|
|00003a10| 4f 52 4b 0d 0a 0d 0a 20 | 20 20 20 20 1b 46 6f 72 |ORK.... | .For|
|00003a20| 0d 0a 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00003a30| 20 20 20 1b 45 4c 4f 41 | 44 20 22 42 3a 48 4f 4d | .ELOA|D "B:HOM|
|00003a40| 45 57 4f 52 4b 0d 0a 0d | 0a 20 20 20 20 20 1b 46 |EWORK...|. .F|
|00003a50| 41 73 20 77 69 74 68 20 | 74 68 65 20 53 41 56 45 |As with |the SAVE|
|00003a60| 20 63 6f 6d 6d 61 6e 64 | 2c 20 74 68 65 20 63 6c | command|, the cl|
|00003a70| 6f 73 69 6e 67 20 73 65 | 74 20 6f 66 20 71 75 6f |osing se|t of quo|
|00003a80| 74 61 74 69 6f 6e 20 6d | 61 72 6b 73 20 69 73 0d |tation m|arks is.|
|00003a90| 0a 20 20 20 20 20 6f 70 | 74 69 6f 6e 61 6c 2c 20 |. op|tional, |
|00003aa0| 61 73 20 69 73 20 74 68 | 65 20 65 78 74 65 6e 73 |as is th|e extens|
|00003ab0| 69 6f 6e 20 1b 45 42 41 | 53 1b 46 20 61 6e 64 20 |ion .EBA|S.F and |
|00003ac0| 74 68 65 20 70 65 72 69 | 6f 64 20 77 68 69 63 68 |the peri|od which|
|00003ad0| 20 70 72 65 63 65 64 65 | 73 20 69 74 2e 20 20 28 | precede|s it. (|
|00003ae0| 49 66 0d 0a 20 20 20 20 | 20 79 6f 75 20 67 61 76 |If.. | you gav|
|00003af0| 65 20 79 6f 75 72 20 70 | 72 6f 67 72 61 6d 20 61 |e your p|rogram a|
|00003b00| 20 6e 61 6d 65 20 77 69 | 74 68 20 61 6e 20 65 78 | name wi|th an ex|
|00003b10| 74 65 6e 73 69 6f 6e 20 | 6f 74 68 65 72 20 74 68 |tension |other th|
|00003b20| 61 6e 20 2e 42 41 53 2c | 20 79 6f 75 20 1b 2d 01 |an .BAS,| you .-.|
|00003b30| 64 6f 0d 0a 1b 2d 00 20 | 20 20 20 20 68 61 76 65 |do...-. | have|
|00003b40| 20 74 6f 20 69 6e 63 6c | 75 64 65 20 69 74 2e 29 | to incl|ude it.)|
|00003b50| 20 54 68 65 20 1b 45 4f | 6b 1b 46 20 70 72 6f 6d | The .EO|k.F prom|
|00003b60| 70 74 20 77 69 6c 6c 20 | 72 65 74 75 72 6e 2e 20 |pt will |return. |
|00003b70| 20 48 6f 77 20 64 6f 20 | 79 6f 75 20 6b 6e 6f 77 | How do |you know|
|00003b80| 20 74 68 61 74 0d 0a 20 | 20 20 20 20 79 6f 75 72 | that.. | your|
|00003b90| 20 70 72 6f 67 72 61 6d | 20 69 73 20 72 65 61 6c | program| is real|
|00003ba0| 6c 79 20 62 61 63 6b 20 | 69 6e 20 74 68 65 72 65 |ly back |in there|
|00003bb0| 3f 20 20 54 6f 20 72 65 | 2d 61 73 73 75 72 65 20 |? To re|-assure |
|00003bc0| 79 6f 75 72 73 65 6c 66 | 2c 20 1b 45 4c 49 53 54 |yourself|, .ELIST|
|00003bd0| 1b 46 20 69 74 2e 0d 0a | 0d 0a 20 20 20 20 20 54 |.F it...|.. T|
|00003be0| 68 65 20 1b 45 53 41 56 | 45 1b 46 20 61 6e 64 20 |he .ESAV|E.F and |
|00003bf0| 1b 45 4c 4f 41 44 1b 46 | 20 63 6f 6d 6d 61 6e 64 |.ELOAD.F| command|
|00003c00| 73 20 61 72 65 20 74 68 | 65 20 6f 6e 65 73 20 79 |s are th|e ones y|
|00003c10| 6f 75 20 77 69 6c 6c 20 | 75 73 65 20 6d 6f 73 74 |ou will |use most|
|00003c20| 20 6f 66 74 65 6e 20 74 | 6f 20 73 74 6f 72 65 0d | often t|o store.|
|00003c30| 0a 20 20 20 20 20 79 6f | 75 72 20 70 72 6f 67 72 |. yo|ur progr|
|00003c40| 61 6d 73 20 6f 6e 20 61 | 20 64 69 73 6b 20 61 6e |ams on a| disk an|
|00003c50| 64 20 67 65 74 20 74 68 | 65 6d 20 62 61 63 6b 20 |d get th|em back |
|00003c60| 69 6e 74 6f 20 6d 65 6d | 6f 72 79 2e 20 20 42 41 |into mem|ory. BA|
|00003c70| 53 49 43 20 70 72 6f 67 | 72 61 6d 73 0d 0a 20 20 |SIC prog|rams.. |
|00003c80| 20 20 20 73 61 76 65 64 | 20 77 69 74 68 20 74 68 | saved| with th|
|00003c90| 65 20 1b 45 53 41 56 45 | 1b 46 20 63 6f 6d 6d 61 |e .ESAVE|.F comma|
|00003ca0| 6e 64 20 61 72 65 20 73 | 74 6f 72 65 64 20 69 6e |nd are s|tored in|
|00003cb0| 20 61 20 63 6f 6d 70 72 | 65 73 73 65 64 20 22 62 | a compr|essed "b|
|00003cc0| 69 6e 61 72 79 22 20 66 | 6f 72 6d 61 74 2e 0d 0a |inary" f|ormat...|
|00003cd0| 20 20 20 20 20 49 74 20 | 69 73 20 61 6c 73 6f 20 | It |is also |
|00003ce0| 70 6f 73 73 69 62 6c 65 | 20 74 6f 20 73 61 76 65 |possible| to save|
|00003cf0| 20 70 72 6f 67 72 61 6d | 73 20 69 6e 20 41 53 43 | program|s in ASC|
|00003d00| 49 49 20 6f 72 20 74 65 | 78 74 20 66 6f 72 6d 61 |II or te|xt forma|
|00003d10| 74 2c 20 73 6f 20 74 68 | 61 74 0d 0a 20 20 20 20 |t, so th|at.. |
|00003d20| 20 74 68 65 79 20 63 61 | 6e 20 62 65 20 76 69 65 | they ca|n be vie|
|00003d30| 77 65 64 20 77 69 74 68 | 20 74 68 65 20 44 4f 53 |wed with| the DOS|
|00003d40| 20 1b 45 54 59 50 45 1b | 46 20 63 6f 6d 6d 61 6e | .ETYPE.|F comman|
|00003d50| 64 2e 20 20 53 65 65 20 | 74 68 65 20 41 70 70 65 |d. See |the Appe|
|00003d60| 6e 64 69 78 20 44 20 66 | 6f 72 20 61 0d 0a 20 20 |ndix D f|or a.. |
|00003d70| 20 20 20 64 69 73 63 75 | 73 73 69 6f 6e 20 6f 66 | discu|ssion of|
|00003d80| 20 74 68 65 20 75 73 65 | 20 6f 66 20 74 65 78 74 | the use| of text|
|00003d90| 20 66 69 6c 65 73 20 66 | 6f 72 20 77 72 69 74 69 | files f|or writi|
|00003da0| 6e 67 20 42 41 53 49 43 | 20 70 72 6f 67 72 61 6d |ng BASIC| program|
|00003db0| 73 2e 0d 0a 0d 0a 20 20 | 20 20 20 1b 45 4e 45 57 |s..... | .ENEW|
|00003dc0| 0d 0a 20 20 20 20 20 1b | 46 54 68 65 20 1b 45 53 |.. .|FThe .ES|
|00003dd0| 41 56 45 1b 46 20 61 6e | 64 20 1b 45 4c 4f 41 44 |AVE.F an|d .ELOAD|
|00003de0| 1b 46 20 63 6f 6d 6d 61 | 6e 64 73 20 61 6c 6c 6f |.F comma|nds allo|
|00003df0| 77 20 79 6f 75 20 74 6f | 20 74 75 72 6e 20 79 6f |w you to| turn yo|
|00003e00| 75 72 20 63 6f 6d 70 75 | 74 65 72 20 6f 66 66 20 |ur compu|ter off |
|00003e10| 61 6e 64 0d 0a 20 20 20 | 20 20 72 65 74 75 72 6e |and.. | return|
|00003e20| 20 74 6f 20 77 6f 72 6b | 20 6f 6e 20 61 20 70 72 | to work| on a pr|
|00003e30| 6f 67 72 61 6d 20 6f 76 | 65 72 20 73 65 76 65 72 |ogram ov|er sever|
|00003e40| 61 6c 20 64 61 79 73 20 | 6f 72 20 77 65 65 6b 73 |al days |or weeks|
|00003e50| 2e 20 20 48 6f 77 65 76 | 65 72 2c 20 77 68 61 74 |. Howev|er, what|
|00003e60| 0d 0a 20 20 20 20 20 69 | 66 20 79 6f 75 20 77 61 |.. i|f you wa|
|00003e70| 6e 74 20 74 6f 20 77 72 | 69 74 65 2c 20 6d 6f 64 |nt to wr|ite, mod|
|00003e80| 69 66 79 20 6f 72 20 72 | 75 6e 20 6d 6f 72 65 20 |ify or r|un more |
|00003e90| 74 68 61 6e 20 6f 6e 65 | 20 70 72 6f 67 72 61 6d |than one| program|
|00003ea0| 20 64 75 72 69 6e 67 20 | 61 20 77 6f 72 6b 0d 0a | during |a work..|
|00003eb0| 20 20 20 20 20 73 65 73 | 73 69 6f 6e 3f 20 20 53 | ses|sion? S|
|00003ec0| 75 70 70 6f 73 65 20 79 | 6f 75 20 68 61 76 65 20 |uppose y|ou have |
|00003ed0| 77 72 69 74 74 65 6e 20 | 28 61 6e 64 2c 20 70 72 |written |(and, pr|
|00003ee0| 65 73 75 6d 61 62 6c 79 | 2c 20 73 61 76 65 64 29 |esumably|, saved)|
|00003ef0| 20 61 20 70 72 6f 67 72 | 61 6d 0d 0a 20 20 20 20 | a progr|am.. |
|00003f00| 20 61 6e 64 20 77 61 6e | 74 20 74 6f 20 73 74 61 | and wan|t to sta|
|00003f10| 72 74 20 74 79 70 69 6e | 67 20 69 6e 20 61 20 6e |rt typin|g in a n|
|00003f20| 65 77 20 6f 6e 65 2e 20 | 20 42 65 66 6f 72 65 20 |ew one. | Before |
|00003f30| 64 6f 69 6e 67 20 73 6f | 2c 20 67 69 76 65 20 74 |doing so|, give t|
|00003f40| 68 65 20 1b 45 4e 45 57 | 0d 0a 20 20 20 20 20 1b |he .ENEW|.. .|
|00003f50| 46 63 6f 6d 6d 61 6e 64 | 20 61 74 20 74 68 65 20 |Fcommand| at the |
|00003f60| 1b 45 4f 6b 1b 46 20 70 | 72 6f 6d 70 74 2e 20 20 |.EOk.F p|rompt. |
|00003f70| 54 68 69 73 20 77 69 6c | 6c 20 63 6c 65 61 72 20 |This wil|l clear |
|00003f80| 74 68 65 20 70 72 6f 67 | 72 61 6d 20 79 6f 75 20 |the prog|ram you |
|00003f90| 68 61 76 65 20 6a 75 73 | 74 0d 0a 20 20 20 20 20 |have jus|t.. |
|00003fa0| 77 72 69 74 74 65 6e 20 | 66 72 6f 6d 20 74 68 65 |written |from the|
|00003fb0| 20 63 6f 6d 70 75 74 65 | 72 27 73 20 6d 65 6d 6f | compute|r's memo|
|00003fc0| 72 79 20 28 69 74 20 72 | 65 6d 61 69 6e 73 20 6f |ry (it r|emains o|
|00003fd0| 6e 20 74 68 65 20 64 69 | 73 6b 2c 20 6f 66 20 63 |n the di|sk, of c|
|00003fe0| 6f 75 72 73 65 2c 0d 0a | 20 20 20 20 20 75 6e 6c |ourse,..| unl|
|00003ff0| 65 73 73 20 79 6f 75 20 | 66 6f 72 67 6f 74 20 74 |ess you |forgot t|
|00004000| 6f 20 1b 45 53 41 56 45 | 1b 46 20 69 74 29 20 73 |o .ESAVE|.F it) s|
|00004010| 6f 20 74 68 61 74 20 74 | 68 65 72 65 20 77 69 6c |o that t|here wil|
|00004020| 6c 20 62 65 20 6e 6f 20 | 63 6f 6e 66 75 73 69 6f |l be no |confusio|
|00004030| 6e 20 62 65 74 77 65 65 | 6e 0d 0a 20 20 20 20 20 |n betwee|n.. |
|00004040| 74 68 65 20 70 72 6f 67 | 72 61 6d 20 79 6f 75 20 |the prog|ram you |
|00004050| 68 61 64 20 62 65 65 6e | 20 77 6f 72 6b 69 6e 67 |had been| working|
|00004060| 20 6f 6e 20 61 6e 64 20 | 74 68 65 20 6f 6e 65 20 | on and |the one |
|00004070| 79 6f 75 27 72 65 20 61 | 62 6f 75 74 20 74 6f 20 |you're a|bout to |
|00004080| 62 65 67 69 6e 2e 0d 0a | 20 20 20 20 20 54 6f 20 |begin...| To |
|00004090| 73 65 65 20 77 68 79 20 | 74 68 69 73 20 69 73 20 |see why |this is |
|000040a0| 6e 65 63 65 73 73 61 72 | 79 2c 20 73 75 70 70 6f |necessar|y, suppo|
|000040b0| 73 65 20 79 6f 75 20 68 | 61 64 20 6a 75 73 74 20 |se you h|ad just |
|000040c0| 77 72 69 74 74 65 6e 20 | 61 20 70 72 6f 67 72 61 |written |a progra|
|000040d0| 6d 0d 0a 20 20 20 20 20 | 77 68 69 63 68 20 68 61 |m.. |which ha|
|000040e0| 64 20 6c 69 6e 65 20 6e | 75 6d 62 65 72 73 20 66 |d line n|umbers f|
|000040f0| 72 6f 6d 20 31 30 20 74 | 6f 20 35 30 30 20 69 6e |rom 10 t|o 500 in|
|00004100| 20 69 6e 63 72 65 6d 65 | 6e 74 73 20 6f 66 20 31 | increme|nts of 1|
|00004110| 30 2c 20 61 6e 64 20 77 | 65 6e 74 20 6f 6e 0d 0a |0, and w|ent on..|
|00004120| 20 20 20 20 20 74 6f 20 | 77 72 69 74 65 20 61 6e | to |write an|
|00004130| 6f 74 68 65 72 20 70 72 | 6f 67 72 61 6d 20 6e 75 |other pr|ogram nu|
|00004140| 6d 62 65 72 65 64 20 69 | 6e 20 74 68 65 20 73 61 |mbered i|n the sa|
|00004150| 6d 65 20 77 61 79 2c 20 | 77 69 74 68 20 6c 69 6e |me way, |with lin|
|00004160| 65 20 6e 75 6d 62 65 72 | 73 0d 0a 20 20 20 20 20 |e number|s.. |
|00004170| 67 6f 69 6e 67 20 75 70 | 20 74 6f 20 33 30 30 2e |going up| to 300.|
|00004180| 20 20 69 66 20 79 6f 75 | 20 66 61 69 6c 65 64 20 | if you| failed |
|00004190| 74 6f 20 65 6e 74 65 72 | 20 74 68 65 20 1b 45 4e |to enter| the .EN|
|000041a0| 45 57 1b 46 20 63 6f 6d | 6d 61 6e 64 2c 20 79 6f |EW.F com|mand, yo|
|000041b0| 75 72 20 66 69 72 73 74 | 0d 0a 20 20 20 20 20 70 |ur first|.. p|
|000041c0| 72 6f 67 72 61 6d 20 77 | 6f 75 6c 64 20 72 65 6d |rogram w|ould rem|
|000041d0| 61 69 6e 20 69 6e 20 6d | 65 6d 6f 72 79 2e 20 20 |ain in m|emory. |
|000041e0| 41 73 20 79 6f 75 20 65 | 6e 74 65 72 65 64 20 74 |As you e|ntered t|
|000041f0| 68 65 20 6e 65 77 20 6c | 69 6e 65 73 20 31 30 20 |he new l|ines 10 |
|00004200| 74 68 72 6f 75 67 68 0d | 0a 20 20 20 20 20 33 30 |through.|. 30|
|00004210| 30 20 74 68 65 79 20 77 | 6f 75 6c 64 20 6f 76 65 |0 they w|ould ove|
|00004220| 72 77 72 69 74 65 20 6c | 69 6e 65 73 20 31 30 20 |rwrite l|ines 10 |
|00004230| 74 68 72 6f 75 67 68 20 | 33 30 30 20 6f 66 20 79 |through |300 of y|
|00004240| 6f 75 72 20 6f 72 69 67 | 69 6e 61 6c 20 70 72 6f |our orig|inal pro|
|00004250| 67 72 61 6d 2c 0d 0a 0d | 0a 0d 0a 20 20 20 20 20 |gram,...|... |
|00004260| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004270| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004280| 20 20 1b 45 20 31 36 36 | 0d 0a 0d 0a 0c 0d 0a 0d | .E 166|........|
|00004290| 0a 0d 0a 0d 0a 1b 46 20 | 20 20 20 1b 45 20 41 50 |......F | .E AP|
|000042a0| 50 45 4e 44 49 58 20 43 | 20 1b 46 20 20 20 20 20 |PENDIX C| .F |
|000042b0| 20 20 20 20 20 20 20 20 | 20 1b 45 20 20 20 20 42 | | .E B|
|000042c0| 41 53 49 43 20 43 4f 4d | 4d 41 4e 44 53 20 20 20 |ASIC COM|MANDS |
|000042d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000042e0| 41 50 50 45 4e 44 49 58 | 20 43 0d 0a 0d 0a 0d 0a |APPENDIX| C......|
|000042f0| 20 20 20 20 20 1b 46 62 | 75 74 20 6c 69 6e 65 73 | .Fb|ut lines|
|00004300| 20 33 31 30 20 74 68 72 | 6f 75 67 68 20 35 30 30 | 310 thr|ough 500|
|00004310| 20 77 6f 75 6c 64 20 72 | 65 6d 61 69 6e 2e 20 20 | would r|emain. |
|00004320| 49 66 20 79 6f 75 20 74 | 68 65 6e 20 74 72 69 65 |If you t|hen trie|
|00004330| 64 20 74 6f 20 72 75 6e | 20 74 68 65 0d 0a 20 20 |d to run| the.. |
|00004340| 20 20 20 6e 65 77 20 70 | 72 6f 67 72 61 6d 2c 20 | new p|rogram, |
|00004350| 6c 69 6e 65 73 20 33 31 | 30 20 74 68 72 6f 75 67 |lines 31|0 throug|
|00004360| 68 20 35 30 30 20 77 6f | 75 6c 64 20 62 65 20 63 |h 500 wo|uld be c|
|00004370| 6f 6e 73 69 64 65 72 65 | 64 20 61 73 20 70 61 72 |onsidere|d as par|
|00004380| 74 20 6f 66 20 74 68 65 | 0d 0a 20 20 20 20 20 6e |t of the|.. n|
|00004390| 65 77 20 70 72 6f 67 72 | 61 6d 2c 20 61 6e 64 20 |ew progr|am, and |
|000043a0| 69 74 20 77 6f 75 6c 64 | 20 70 72 6f 62 61 62 6c |it would| probabl|
|000043b0| 79 20 6e 6f 74 20 72 75 | 6e 20 70 72 6f 70 65 72 |y not ru|n proper|
|000043c0| 6c 79 2e 0d 0a 0d 0a 20 | 20 20 20 20 54 68 65 20 |ly..... | The |
|000043d0| 1b 45 4e 45 57 1b 46 20 | 63 6f 6d 6d 61 6e 64 20 |.ENEW.F |command |
|000043e0| 69 73 20 66 6f 72 20 77 | 68 65 6e 20 79 6f 75 20 |is for w|hen you |
|000043f0| 77 61 6e 74 20 74 6f 20 | 62 65 67 69 6e 20 74 79 |want to |begin ty|
|00004400| 70 69 6e 67 20 69 6e 20 | 61 6e 20 61 64 64 69 74 |ping in |an addit|
|00004410| 69 6f 6e 61 6c 0d 0a 20 | 20 20 20 20 70 72 6f 67 |ional.. | prog|
|00004420| 72 61 6d 20 66 72 6f 6d | 20 73 63 72 61 74 63 68 |ram from| scratch|
|00004430| 2e 20 20 4f 6e 20 74 68 | 65 20 6f 74 68 65 72 20 |. On th|e other |
|00004440| 68 61 6e 64 2c 20 69 66 | 20 61 66 74 65 72 20 77 |hand, if| after w|
|00004450| 6f 72 6b 69 6e 67 20 6f | 6e 20 6f 6e 65 0d 0a 20 |orking o|n one.. |
|00004460| 20 20 20 20 70 72 6f 67 | 72 61 6d 20 79 6f 75 20 | prog|ram you |
|00004470| 77 69 73 68 20 74 6f 20 | 72 75 6e 20 6f 72 20 6d |wish to |run or m|
|00004480| 6f 64 69 66 79 20 61 6e | 6f 74 68 65 72 20 70 72 |odify an|other pr|
|00004490| 6f 67 72 61 6d 20 77 68 | 69 63 68 20 79 6f 75 20 |ogram wh|ich you |
|000044a0| 68 61 76 65 20 73 61 76 | 65 64 0d 0a 20 20 20 20 |have sav|ed.. |
|000044b0| 20 6f 6e 20 61 20 64 69 | 73 6b 2c 20 69 74 20 69 | on a di|sk, it i|
|000044c0| 73 20 6e 6f 74 20 6e 65 | 63 65 73 73 61 72 79 20 |s not ne|cessary |
|000044d0| 74 6f 20 67 69 76 65 20 | 74 68 65 20 1b 45 4e 45 |to give |the .ENE|
|000044e0| 57 1b 46 20 63 6f 6d 6d | 61 6e 64 20 62 65 66 6f |W.F comm|and befo|
|000044f0| 72 65 20 6c 6f 61 64 69 | 6e 67 0d 0a 20 20 20 20 |re loadi|ng.. |
|00004500| 20 74 68 65 20 73 65 63 | 6f 6e 64 20 70 72 6f 67 | the sec|ond prog|
|00004510| 72 61 6d 2e 20 20 54 68 | 65 20 1b 45 4c 4f 41 44 |ram. Th|e .ELOAD|
|00004520| 1b 46 20 63 6f 6d 6d 61 | 6e 64 20 69 6d 70 6c 69 |.F comma|nd impli|
|00004530| 63 69 74 6c 79 20 70 65 | 72 66 6f 72 6d 73 20 74 |citly pe|rforms t|
|00004540| 68 65 20 66 75 6e 63 74 | 69 6f 6e 0d 0a 20 20 20 |he funct|ion.. |
|00004550| 20 20 6f 66 20 74 68 65 | 20 1b 45 4e 45 57 1b 46 | of the| .ENEW.F|
|00004560| 20 63 6f 6d 6d 61 6e 64 | 2c 20 63 6c 65 61 72 69 | command|, cleari|
|00004570| 6e 67 20 74 68 65 20 63 | 6f 6d 70 75 74 65 72 27 |ng the c|omputer'|
|00004580| 73 20 6d 65 6d 6f 72 79 | 20 62 65 66 6f 72 65 20 |s memory| before |
|00004590| 6c 6f 61 64 69 6e 67 20 | 74 68 65 0d 0a 20 20 20 |loading |the.. |
|000045a0| 20 20 6e 65 77 20 70 72 | 6f 67 72 61 6d 2e 0d 0a | new pr|ogram...|
|000045b0| 0d 0a 20 20 20 20 20 1b | 45 4e 41 4d 45 20 41 53 |.. .|ENAME AS|
|000045c0| 20 61 6e 64 20 4b 49 4c | 4c 0d 0a 20 20 20 20 20 | and KIL|L.. |
|000045d0| 1b 46 41 20 66 65 77 20 | 70 61 72 61 67 72 61 70 |.FA few |paragrap|
|000045e0| 68 73 20 62 61 63 6b 20 | 77 65 20 6d 65 6e 74 69 |hs back |we menti|
|000045f0| 6f 6e 65 64 20 74 68 65 | 20 1b 45 46 49 4c 45 53 |oned the| .EFILES|
|00004600| 1b 46 20 63 6f 6d 6d 61 | 6e 64 2c 20 77 68 69 63 |.F comma|nd, whic|
|00004610| 68 20 6d 6f 72 65 20 6f | 72 20 6c 65 73 73 0d 0a |h more o|r less..|
|00004620| 20 20 20 20 20 64 75 70 | 6c 69 63 61 74 65 73 20 | dup|licates |
|00004630| 74 68 65 20 1b 45 44 49 | 52 1b 46 20 63 6f 6d 6d |the .EDI|R.F comm|
|00004640| 61 6e 64 20 69 6e 20 4d | 53 2d 44 4f 53 2e 20 20 |and in M|S-DOS. |
|00004650| 48 65 72 65 20 61 72 65 | 20 74 77 6f 20 6f 74 68 |Here are| two oth|
|00004660| 65 72 20 63 6f 6d 6d 61 | 6e 64 73 20 77 68 69 63 |er comma|nds whic|
|00004670| 68 0d 0a 20 20 20 20 20 | 79 6f 75 20 63 61 6e 20 |h.. |you can |
|00004680| 67 69 76 65 20 66 72 6f | 6d 20 77 69 74 68 69 6e |give fro|m within|
|00004690| 20 42 41 53 49 43 20 61 | 73 20 61 6e 20 61 6c 74 | BASIC a|s an alt|
|000046a0| 65 72 6e 61 74 69 76 65 | 20 74 6f 20 72 65 74 75 |ernative| to retu|
|000046b0| 72 6e 69 6e 67 20 74 6f | 20 74 68 65 0d 0a 20 20 |rning to| the.. |
|000046c0| 20 20 20 6f 70 65 72 61 | 74 69 6e 67 20 73 79 73 | opera|ting sys|
|000046d0| 74 65 6d 3a 0d 0a 0d 0a | 20 20 20 20 20 42 41 53 |tem:....| BAS|
|000046e0| 49 43 27 73 20 1b 45 4e | 41 4d 45 20 41 53 1b 46 |IC's .EN|AME AS.F|
|000046f0| 20 63 6f 6d 6d 61 6e 64 | 20 6d 69 6d 69 63 73 20 | command| mimics |
|00004700| 74 68 65 20 1b 45 52 45 | 4e 41 4d 45 1b 46 20 63 |the .ERE|NAME.F c|
|00004710| 6f 6d 6d 61 6e 64 20 69 | 6e 20 44 4f 53 2e 20 20 |ommand i|n DOS. |
|00004720| 54 6f 20 72 65 6e 61 6d | 65 20 61 0d 0a 20 20 20 |To renam|e a.. |
|00004730| 20 20 70 72 6f 67 72 61 | 6d 20 77 68 69 63 68 20 | progra|m which |
|00004740| 69 73 20 73 61 76 65 64 | 20 6f 6e 20 79 6f 75 72 |is saved| on your|
|00004750| 20 64 69 73 6b 2c 20 65 | 6e 74 65 72 20 28 61 74 | disk, e|nter (at|
|00004760| 20 74 68 65 20 1b 45 4f | 6b 1b 46 20 70 72 6f 6d | the .EO|k.F prom|
|00004770| 70 74 29 0d 0a 0d 0a 20 | 20 20 20 20 20 20 20 20 |pt).... | |
|00004780| 20 20 20 20 20 20 1b 45 | 4e 41 4d 45 20 22 4f 4c | .E|NAME "OL|
|00004790| 44 4e 41 4d 45 2e 42 41 | 53 22 20 41 53 20 22 4e |DNAME.BA|S" AS "N|
|000047a0| 45 57 4e 41 4d 45 2e 42 | 41 53 22 0d 0a 0d 0a 20 |EWNAME.B|AS".... |
|000047b0| 20 20 20 20 1b 46 54 68 | 65 20 1b 45 4b 49 4c 4c | .FTh|e .EKILL|
|000047c0| 1b 46 20 63 6f 6d 6d 61 | 6e 64 20 69 6e 20 42 41 |.F comma|nd in BA|
|000047d0| 53 49 43 20 77 6f 72 6b | 73 20 74 68 65 20 73 61 |SIC work|s the sa|
|000047e0| 6d 65 20 61 73 20 74 68 | 65 20 1b 45 44 45 4c 1b |me as th|e .EDEL.|
|000047f0| 46 20 63 6f 6d 6d 61 6e | 64 20 69 6e 20 44 4f 53 |F comman|d in DOS|
|00004800| 2e 20 20 49 74 73 0d 0a | 20 20 20 20 20 73 79 6e |. Its..| syn|
|00004810| 74 61 78 20 69 73 20 73 | 69 6d 70 6c 65 2c 20 73 |tax is s|imple, s|
|00004820| 6f 20 75 73 65 20 69 74 | 20 77 69 74 68 20 63 61 |o use it| with ca|
|00004830| 72 65 3a 0d 0a 0d 0a 20 | 20 20 20 20 20 20 20 20 |re:.... | |
|00004840| 20 20 20 20 20 20 1b 45 | 4b 49 4c 4c 20 22 4d 59 | .E|KILL "MY|
|00004850| 50 52 4f 47 31 2e 42 41 | 53 22 0d 0a 0d 0a 20 20 |PROG1.BA|S".... |
|00004860| 20 20 20 1b 46 54 68 65 | 20 1b 45 4e 41 4d 45 20 | .FThe| .ENAME |
|00004870| 41 53 1b 46 20 61 6e 64 | 20 1b 45 4b 49 4c 4c 1b |AS.F and| .EKILL.|
|00004880| 46 20 63 6f 6d 6d 61 6e | 64 73 20 63 61 6e 20 62 |F comman|ds can b|
|00004890| 65 20 75 73 65 64 20 6f | 6e 20 61 6e 79 20 64 69 |e used o|n any di|
|000048a0| 73 6b 20 66 69 6c 65 2c | 20 6e 6f 74 20 6a 75 73 |sk file,| not jus|
|000048b0| 74 20 61 0d 0a 20 20 20 | 20 20 70 72 6f 67 72 61 |t a.. | progra|
|000048c0| 6d 20 66 69 6c 65 2e 20 | 20 59 6f 75 20 6d 75 73 |m file. | You mus|
|000048d0| 74 20 69 6e 73 65 72 74 | 20 61 20 1b 45 42 3a 1b |t insert| a .EB:.|
|000048e0| 46 20 62 65 74 77 65 65 | 6e 20 74 68 65 20 66 69 |F betwee|n the fi|
|000048f0| 72 73 74 20 70 61 69 72 | 20 6f 66 20 71 75 6f 74 |rst pair| of quot|
|00004900| 61 74 69 6f 6e 0d 0a 20 | 20 20 20 20 6d 61 72 6b |ation.. | mark|
|00004910| 73 20 61 6e 64 20 74 68 | 65 20 66 69 6c 65 6e 61 |s and th|e filena|
|00004920| 6d 65 20 69 66 20 74 68 | 65 20 66 69 6c 65 20 74 |me if th|e file t|
|00004930| 6f 20 62 65 20 61 66 66 | 65 63 74 65 64 20 62 79 |o be aff|ected by|
|00004940| 20 74 68 65 20 63 6f 6d | 6d 61 6e 64 20 69 73 20 | the com|mand is |
|00004950| 6f 6e 20 61 0d 0a 20 20 | 20 20 20 64 69 73 6b 20 |on a.. | disk |
|00004960| 69 6e 20 64 72 69 76 65 | 20 42 3a 2e 20 20 4e 6f |in drive| B:. No|
|00004970| 74 65 20 74 68 61 74 20 | 75 6e 6c 69 6b 65 20 74 |te that |unlike t|
|00004980| 68 65 20 1b 45 53 41 56 | 45 1b 46 20 61 6e 64 20 |he .ESAV|E.F and |
|00004990| 1b 45 4c 4f 41 44 1b 46 | 20 63 6f 6d 6d 61 6e 64 |.ELOAD.F| command|
|000049a0| 73 2c 20 74 68 65 20 1b | 45 4e 41 4d 45 0d 0a 20 |s, the .|ENAME.. |
|000049b0| 20 20 20 20 41 53 1b 46 | 20 61 6e 64 20 1b 45 4b | AS.F| and .EK|
|000049c0| 49 4c 4c 1b 46 20 63 6f | 6d 6d 61 6e 64 73 20 72 |ILL.F co|mmands r|
|000049d0| 65 71 75 69 72 65 20 79 | 6f 75 20 74 6f 20 69 6e |equire y|ou to in|
|000049e0| 63 6c 75 64 65 20 74 68 | 65 20 1b 45 2e 42 41 53 |clude th|e .E.BAS|
|000049f0| 1b 46 20 65 78 74 65 6e | 73 69 6f 6e 20 77 68 65 |.F exten|sion whe|
|00004a00| 6e 20 74 68 65 0d 0a 20 | 20 20 20 20 66 69 6c 65 |n the.. | file|
|00004a10| 20 79 6f 75 20 77 61 6e | 74 20 74 6f 20 6f 70 65 | you wan|t to ope|
|00004a20| 72 61 74 65 20 6f 6e 20 | 68 61 73 20 74 68 69 73 |rate on |has this|
|00004a30| 20 65 78 74 65 6e 73 69 | 6f 6e 2e 0d 0a 0d 0a 20 | extensi|on..... |
|00004a40| 20 20 20 20 59 6f 75 20 | 70 72 6f 62 61 62 6c 79 | You |probably|
|00004a50| 20 77 69 6c 6c 20 6e 6f | 74 20 68 61 76 65 20 6d | will no|t have m|
|00004a60| 75 63 68 20 63 61 75 73 | 65 20 74 6f 20 75 73 65 |uch caus|e to use|
|00004a70| 20 74 68 65 20 1b 45 4e | 41 4d 45 20 41 53 1b 46 | the .EN|AME AS.F|
|00004a80| 20 63 6f 6d 6d 61 6e 64 | 2e 20 20 42 75 74 0d 0a | command|. But..|
|00004a90| 20 20 20 20 20 74 68 65 | 20 1b 45 4b 49 4c 4c 1b | the| .EKILL.|
|00004aa0| 46 20 63 6f 6d 6d 61 6e | 64 20 63 61 6e 20 62 65 |F comman|d can be|
|00004ab0| 20 61 20 6c 69 66 65 73 | 61 76 65 72 20 69 66 20 | a lifes|aver if |
|00004ac0| 79 6f 75 20 74 72 79 20 | 74 6f 20 73 61 76 65 20 |you try |to save |
|00004ad0| 61 20 70 72 6f 67 72 61 | 6d 20 74 6f 20 64 69 73 |a progra|m to dis|
|00004ae0| 6b 0d 0a 20 20 20 20 20 | 61 6e 64 20 67 65 74 20 |k.. |and get |
|00004af0| 61 20 22 44 49 53 4b 20 | 46 55 4c 4c 22 20 65 72 |a "DISK |FULL" er|
|00004b00| 72 6f 72 20 6d 65 73 73 | 61 67 65 2e 20 20 49 66 |ror mess|age. If|
|00004b10| 20 79 6f 75 20 64 6f 6e | 27 74 20 68 61 70 70 65 | you don|'t happe|
|00004b20| 6e 20 74 6f 20 68 61 76 | 65 0d 0a 20 20 20 20 20 |n to hav|e.. |
|00004b30| 61 6e 6f 74 68 65 72 20 | 66 6f 72 6d 61 74 74 65 |another |formatte|
|00004b40| 64 20 66 6c 6f 70 70 79 | 20 64 69 73 6b 20 68 61 |d floppy| disk ha|
|00004b50| 6e 64 79 2c 20 79 6f 75 | 20 63 61 6e 20 1b 45 4b |ndy, you| can .EK|
|00004b60| 49 4c 4c 1b 46 20 6f 6e | 65 20 6f 72 20 6d 6f 72 |ILL.F on|e or mor|
|00004b70| 65 20 6f 6c 64 20 66 69 | 6c 65 73 0d 0a 20 20 20 |e old fi|les.. |
|00004b80| 20 20 6f 6e 20 79 6f 75 | 72 20 64 69 73 6b 20 74 | on you|r disk t|
|00004b90| 6f 20 6d 61 6b 65 20 73 | 70 61 63 65 20 66 6f 72 |o make s|pace for|
|00004ba0| 20 79 6f 75 72 20 6c 61 | 74 65 73 74 20 70 72 6f | your la|test pro|
|00004bb0| 67 72 61 6d 2e 0d 0a 0d | 0a 0d 0a 20 20 20 20 20 |gram....|... |
|00004bc0| 1b 45 4f 54 48 45 52 20 | 55 53 45 46 55 4c 20 43 |.EOTHER |USEFUL C|
|00004bd0| 4f 4d 4d 41 4e 44 53 0d | 0a 0d 0a 20 20 20 20 20 |OMMANDS.|... |
|00004be0| 41 55 54 4f 0d 0a 20 20 | 20 20 20 1b 46 54 68 69 |AUTO.. | .FThi|
|00004bf0| 73 20 63 6f 6d 6d 61 6e | 64 20 69 73 20 61 20 72 |s comman|d is a r|
|00004c00| 65 61 6c 20 74 69 6d 65 | 2d 73 61 76 65 72 3a 20 |eal time|-saver: |
|00004c10| 49 74 20 1b 45 41 55 54 | 4f 1b 46 6d 61 74 69 63 |It .EAUT|O.Fmatic|
|00004c20| 61 6c 6c 79 20 74 79 70 | 65 73 20 69 6e 20 74 68 |ally typ|es in th|
|00004c30| 65 20 6c 69 6e 65 0d 0a | 20 20 20 20 20 6e 75 6d |e line..| num|
|00004c40| 62 65 72 73 20 66 6f 72 | 20 79 6f 75 2e 20 20 54 |bers for| you. T|
|00004c50| 79 70 65 20 1b 45 41 55 | 54 4f 1b 46 20 61 74 20 |ype .EAU|TO.F at |
|00004c60| 74 68 65 20 4f 6b 20 70 | 72 6f 6d 70 74 2c 20 70 |the Ok p|rompt, p|
|00004c70| 72 65 73 73 20 74 68 65 | 20 45 6e 74 65 72 20 6b |ress the| Enter k|
|00004c80| 65 79 2c 20 61 6e 64 0d | 0a 20 20 20 20 20 74 68 |ey, and.|. th|
|00004c90| 65 20 6e 75 6d 62 65 72 | 20 1b 45 31 30 1b 46 20 |e number| .E10.F |
|00004ca0| 77 69 6c 6c 20 61 70 70 | 65 61 72 20 6f 6e 20 74 |will app|ear on t|
|00004cb0| 68 65 20 6e 65 78 74 20 | 6c 69 6e 65 2e 20 20 54 |he next |line. T|
|00004cc0| 79 70 65 20 69 6e 20 74 | 68 65 20 66 69 72 73 74 |ype in t|he first|
|00004cd0| 20 6c 69 6e 65 20 6f 66 | 0d 0a 20 20 20 20 20 79 | line of|.. y|
|00004ce0| 6f 75 72 20 70 72 6f 67 | 72 61 6d 2c 20 70 72 65 |our prog|ram, pre|
|00004cf0| 73 73 20 45 6e 74 65 72 | 2c 20 61 6e 64 20 1b 45 |ss Enter|, and .E|
|00004d00| 32 30 1b 46 20 77 69 6c | 6c 20 61 70 70 65 61 72 |20.F wil|l appear|
|00004d10| 20 6f 6e 20 74 68 65 20 | 6e 65 78 74 20 6c 69 6e | on the |next lin|
|00004d20| 65 20 64 6f 77 6e 2e 20 | 20 49 6e 0d 0a 20 20 20 |e down. | In.. |
|00004d30| 20 20 73 68 6f 72 74 2c | 20 6f 6e 63 65 20 79 6f | short,| once yo|
|00004d40| 75 27 76 65 20 67 69 76 | 65 6e 20 74 68 65 20 1b |u've giv|en the .|
|00004d50| 45 41 55 54 4f 1b 46 20 | 63 6f 6d 6d 61 6e 64 2c |EAUTO.F |command,|
|00004d60| 20 61 20 6e 65 77 20 6c | 69 6e 65 20 6e 75 6d 62 | a new l|ine numb|
|00004d70| 65 72 20 28 68 69 67 68 | 65 72 20 62 79 0d 0a 20 |er (high|er by.. |
|00004d80| 20 20 20 20 31 30 20 74 | 68 61 6e 20 74 68 65 20 | 10 t|han the |
|00004d90| 70 72 65 76 69 6f 75 73 | 20 6f 6e 65 29 20 77 69 |previous| one) wi|
|00004da0| 6c 6c 20 62 65 20 67 65 | 6e 65 72 61 74 65 64 20 |ll be ge|nerated |
|00004db0| 65 61 63 68 20 74 69 6d | 65 20 79 6f 75 20 70 72 |each tim|e you pr|
|00004dc0| 65 73 73 20 74 68 65 0d | 0a 20 20 20 20 20 45 6e |ess the.|. En|
|00004dd0| 74 65 72 20 6b 65 79 2e | 0d 0a 0d 0a 0d 0a 0d 0a |ter key.|........|
|00004de0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004df0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004e00| 20 20 20 20 20 20 20 1b | 45 20 31 36 37 0d 0a 0d | .|E 167...|
|00004e10| 0a 0c 0d 0a 0d 0a 0d 0a | 0d 0a 1b 46 20 20 20 20 |........|...F |
|00004e20| 1b 45 20 41 50 50 45 4e | 44 49 58 20 43 20 1b 46 |.E APPEN|DIX C .F|
|00004e30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 1b 45 | | .E|
|00004e40| 20 20 20 20 42 41 53 49 | 43 20 43 4f 4d 4d 41 4e | BASI|C COMMAN|
|00004e50| 44 53 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |DS | |
|00004e60| 20 20 20 20 20 41 50 50 | 45 4e 44 49 58 20 43 0d | APP|ENDIX C.|
|00004e70| 0a 0d 0a 0d 0a 20 20 20 | 20 20 1b 46 49 66 20 79 |..... | .FIf y|
|00004e80| 6f 75 20 77 61 6e 74 20 | 74 6f 20 62 65 67 69 6e |ou want |to begin|
|00004e90| 20 79 6f 75 72 20 70 72 | 6f 67 72 61 6d 20 61 74 | your pr|ogram at|
|00004ea0| 20 61 20 6c 69 6e 65 20 | 6f 74 68 65 72 20 74 68 | a line |other th|
|00004eb0| 61 6e 20 6c 69 6e 65 20 | 31 30 2c 20 6f 72 20 69 |an line |10, or i|
|00004ec0| 66 0d 0a 20 20 20 20 20 | 79 6f 75 20 77 69 73 68 |f.. |you wish|
|00004ed0| 20 74 6f 20 73 74 61 72 | 74 20 75 70 20 74 68 65 | to star|t up the|
|00004ee0| 20 61 75 74 6f 2d 6e 75 | 6d 62 65 72 69 6e 67 20 | auto-nu|mbering |
|00004ef0| 66 65 61 74 75 72 65 20 | 69 6e 20 74 68 65 20 6d |feature |in the m|
|00004f00| 69 64 64 6c 65 20 6f 66 | 20 77 72 69 74 69 6e 67 |iddle of| writing|
|00004f10| 0d 0a 20 20 20 20 20 61 | 20 70 72 6f 67 72 61 6d |.. a| program|
|00004f20| 2c 20 69 6e 63 6c 75 64 | 65 20 61 20 6c 69 6e 65 |, includ|e a line|
|00004f30| 20 6e 75 6d 62 65 72 20 | 69 6e 20 74 68 65 20 63 | number |in the c|
|00004f40| 6f 6d 6d 61 6e 64 2e 0d | 0a 0d 0a 20 20 20 20 20 |ommand..|... |
|00004f50| 20 20 20 20 20 20 20 20 | 20 20 1b 45 41 55 54 4f | | .EAUTO|
|00004f60| 20 31 30 30 0d 0a 0d 0a | 20 20 20 20 20 1b 46 77 | 100....| .Fw|
|00004f70| 69 6c 6c 20 67 65 6e 65 | 72 61 74 65 20 74 68 65 |ill gene|rate the|
|00004f80| 20 6c 69 6e 65 20 6e 75 | 6d 62 65 72 73 20 31 30 | line nu|mbers 10|
|00004f90| 30 2c 20 31 31 30 2c 20 | 31 32 30 2c 20 61 6e 64 |0, 110, |120, and|
|00004fa0| 20 73 6f 20 66 6f 72 74 | 68 2e 20 20 49 66 20 79 | so fort|h. If y|
|00004fb0| 6f 75 27 64 0d 0a 20 20 | 20 20 20 6c 69 6b 65 20 |ou'd.. | like |
|00004fc0| 74 68 65 20 6c 69 6e 65 | 20 6e 75 6d 62 65 72 73 |the line| numbers|
|00004fd0| 20 74 6f 20 69 6e 63 72 | 65 6d 65 6e 74 20 28 69 | to incr|ement (i|
|00004fe0| 6e 63 72 65 61 73 65 29 | 20 62 79 20 73 6f 6d 65 |ncrease)| by some|
|00004ff0| 20 6f 74 68 65 72 20 6e | 75 6d 62 65 72 20 74 68 | other n|umber th|
|00005000| 61 6e 0d 0a 20 20 20 20 | 20 31 30 2c 20 74 68 65 |an.. | 10, the|
|00005010| 20 73 79 6e 74 61 78 20 | 69 73 0d 0a 0d 0a 20 20 | syntax |is.... |
|00005020| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 1b 45 41 | | .EA|
|00005030| 55 54 4f 20 5b 6c 69 6e | 65 20 6e 75 6d 62 65 72 |UTO [lin|e number|
|00005040| 20 5b 2c 69 6e 63 72 65 | 6d 65 6e 74 5d 5d 0d 0a | [,incre|ment]]..|
|00005050| 0d 0a 20 20 20 20 20 1b | 46 28 74 68 65 20 62 72 |.. .|F(the br|
|00005060| 61 63 6b 65 74 73 20 69 | 6e 64 69 63 61 74 65 20 |ackets i|ndicate |
|00005070| 6f 70 74 69 6f 6e 61 6c | 20 65 6c 65 6d 65 6e 74 |optional| element|
|00005080| 73 20 6f 66 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |s of the| command|
|00005090| 29 2e 20 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |). For |example,|
|000050a0| 0d 0a 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|000050b0| 20 20 20 1b 45 41 55 54 | 4f 20 31 30 30 2c 20 35 | .EAUT|O 100, 5|
|000050c0| 0d 0a 0d 0a 20 20 20 20 | 20 1b 46 77 69 6c 6c 20 |.... | .Fwill |
|000050d0| 67 65 6e 65 72 61 74 65 | 20 74 68 65 20 6c 69 6e |generate| the lin|
|000050e0| 65 20 6e 75 6d 62 65 72 | 73 20 31 30 30 2c 20 31 |e number|s 100, 1|
|000050f0| 30 35 2c 20 31 31 30 2c | 20 31 31 35 2c 20 65 74 |05, 110,| 115, et|
|00005100| 63 2e 20 20 54 68 75 73 | 20 65 6e 74 65 72 69 6e |c. Thus| enterin|
|00005110| 67 0d 0a 20 20 20 20 20 | 1b 45 41 55 54 4f 1b 46 |g.. |.EAUTO.F|
|00005120| 20 62 79 20 69 74 73 65 | 6c 66 20 69 73 20 74 68 | by itse|lf is th|
|00005130| 65 20 73 61 6d 65 20 61 | 73 20 67 69 76 69 6e 67 |e same a|s giving|
|00005140| 20 74 68 65 20 63 6f 6d | 6d 61 6e 64 0d 0a 0d 0a | the com|mand....|
|00005150| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 1b | | .|
|00005160| 45 41 55 54 4f 20 31 30 | 2c 20 31 30 0d 0a 0d 0a |EAUTO 10|, 10....|
|00005170| 20 20 20 20 20 1b 46 53 | 6f 6d 65 74 69 6d 65 73 | .FS|ometimes|
|00005180| 20 79 6f 75 27 6c 6c 20 | 77 61 6e 74 20 74 6f 20 | you'll |want to |
|00005190| 74 75 72 6e 20 61 75 74 | 6f 6d 61 74 69 63 20 6c |turn aut|omatic l|
|000051a0| 69 6e 65 20 6e 75 6d 62 | 65 72 69 6e 67 20 6f 66 |ine numb|ering of|
|000051b0| 66 2e 20 20 54 6f 20 64 | 6f 20 74 68 69 73 2c 0d |f. To d|o this,.|
|000051c0| 0a 20 20 20 20 20 68 6f | 6c 64 20 64 6f 77 6e 20 |. ho|ld down |
|000051d0| 74 68 65 20 43 6f 6e 74 | 72 6f 6c 20 6b 65 79 20 |the Cont|rol key |
|000051e0| 61 6e 64 20 70 72 65 73 | 73 20 74 68 65 20 53 63 |and pres|s the Sc|
|000051f0| 72 6f 6c 6c 20 4c 6f 63 | 6b 2f 42 72 65 61 6b 20 |roll Loc|k/Break |
|00005200| 6b 65 79 2e 20 20 54 68 | 65 20 6c 69 6e 65 0d 0a |key. Th|e line..|
|00005210| 20 20 20 20 20 74 68 61 | 74 20 79 6f 75 27 72 65 | tha|t you're|
|00005220| 20 6f 6e 20 77 68 65 6e | 20 79 6f 75 20 68 69 74 | on when| you hit|
|00005230| 20 43 6f 6e 74 72 6f 6c | 2d 42 72 65 61 6b 20 69 | Control|-Break i|
|00005240| 73 20 6e 6f 74 20 72 65 | 74 61 69 6e 65 64 20 61 |s not re|tained a|
|00005250| 73 20 70 61 72 74 20 6f | 66 20 74 68 65 0d 0a 20 |s part o|f the.. |
|00005260| 20 20 20 20 70 72 6f 67 | 72 61 6d 2c 20 73 6f 20 | prog|ram, so |
|00005270| 62 65 20 73 75 72 65 20 | 74 6f 20 65 6e 74 65 72 |be sure |to enter|
|00005280| 20 79 6f 75 72 20 6d 6f | 73 74 20 72 65 63 65 6e | your mo|st recen|
|00005290| 74 20 6c 69 6e 65 20 62 | 65 66 6f 72 65 20 64 6f |t line b|efore do|
|000052a0| 69 6e 67 20 61 0d 0a 20 | 20 20 20 20 43 6f 6e 74 |ing a.. | Cont|
|000052b0| 72 6f 6c 2d 42 72 65 61 | 6b 2e 0d 0a 0d 0a 20 20 |rol-Brea|k..... |
|000052c0| 20 20 20 1b 45 52 45 4e | 55 4d 0d 0a 20 20 20 20 | .EREN|UM.. |
|000052d0| 20 1b 46 41 73 20 77 65 | 20 6d 65 6e 74 69 6f 6e | .FAs we| mention|
|000052e0| 65 64 20 65 61 72 6c 69 | 65 72 2c 20 6d 6f 73 74 |ed earli|er, most|
|000052f0| 20 42 41 53 49 43 20 70 | 72 6f 67 72 61 6d 6d 65 | BASIC p|rogramme|
|00005300| 72 73 20 61 73 73 69 67 | 6e 20 6c 69 6e 65 20 6e |rs assig|n line n|
|00005310| 75 6d 62 65 72 73 20 69 | 6e 0d 0a 20 20 20 20 20 |umbers i|n.. |
|00005320| 69 6e 63 72 65 6d 65 6e | 74 73 20 6f 66 20 31 30 |incremen|ts of 10|
|00005330| 2c 20 73 6f 20 74 68 65 | 79 20 63 61 6e 20 67 6f |, so the|y can go|
|00005340| 20 62 61 63 6b 20 61 6e | 64 20 69 6e 73 65 72 74 | back an|d insert|
|00005350| 20 6c 69 6e 65 73 20 62 | 65 74 77 65 65 6e 20 74 | lines b|etween t|
|00005360| 68 6f 73 65 0d 0a 20 20 | 20 20 20 74 68 65 79 20 |hose.. | they |
|00005370| 68 61 76 65 20 61 6c 72 | 65 61 64 79 20 63 6f 64 |have alr|eady cod|
|00005380| 65 64 2e 20 20 45 76 65 | 6e 20 73 6f 2c 20 69 66 |ed. Eve|n so, if|
|00005390| 20 79 6f 75 20 61 72 65 | 20 72 65 76 69 73 69 6e | you are| revisin|
|000053a0| 67 20 61 20 70 72 6f 67 | 72 61 6d 0d 0a 20 20 20 |g a prog|ram.. |
|000053b0| 20 20 68 65 61 76 69 6c | 79 2c 20 79 6f 75 20 6d | heavil|y, you m|
|000053c0| 61 79 20 72 75 6e 20 6f | 75 74 20 6f 66 20 22 73 |ay run o|ut of "s|
|000053d0| 70 61 63 65 22 20 62 65 | 74 77 65 65 6e 20 6c 69 |pace" be|tween li|
|000053e0| 6e 65 73 2e 20 20 49 66 | 20 79 6f 75 20 6e 65 65 |nes. If| you nee|
|000053f0| 64 20 74 6f 0d 0a 20 20 | 20 20 20 69 6e 73 65 72 |d to.. | inser|
|00005400| 74 20 6c 69 6e 65 73 20 | 61 6e 64 20 79 6f 75 20 |t lines |and you |
|00005410| 64 6f 6e 27 74 20 68 61 | 76 65 20 72 6f 6f 6d 20 |don't ha|ve room |
|00005420| 69 6e 20 79 6f 75 72 20 | 70 72 6f 67 72 61 6d 2c |in your |program,|
|00005430| 20 79 6f 75 20 63 61 6e | 20 72 65 6e 75 6d 62 65 | you can| renumbe|
|00005440| 72 0d 0a 20 20 20 20 20 | 69 74 2e 0d 0a 0d 0a 20 |r.. |it..... |
|00005450| 20 20 20 20 54 68 65 20 | 73 69 6d 70 6c 65 73 74 | The |simplest|
|00005460| 20 77 61 79 20 74 6f 20 | 64 6f 20 74 68 69 73 20 | way to |do this |
|00005470| 69 73 20 74 6f 20 65 6e | 74 65 72 20 1b 45 52 45 |is to en|ter .ERE|
|00005480| 4e 55 4d 1b 46 20 61 74 | 20 74 68 65 20 1b 45 4f |NUM.F at| the .EO|
|00005490| 6b 1b 46 20 70 72 6f 6d | 70 74 2e 20 20 54 68 69 |k.F prom|pt. Thi|
|000054a0| 73 0d 0a 20 20 20 20 20 | 77 69 6c 6c 20 72 65 6e |s.. |will ren|
|000054b0| 75 6d 62 65 72 20 79 6f | 75 72 20 65 6e 74 69 72 |umber yo|ur entir|
|000054c0| 65 20 70 72 6f 67 72 61 | 6d 20 73 6f 20 74 68 61 |e progra|m so tha|
|000054d0| 74 20 74 68 65 20 66 69 | 72 73 74 20 6c 69 6e 65 |t the fi|rst line|
|000054e0| 20 77 69 6c 6c 20 68 61 | 76 65 20 74 68 65 0d 0a | will ha|ve the..|
|000054f0| 20 20 20 20 20 6c 69 6e | 65 20 6e 75 6d 62 65 72 | lin|e number|
|00005500| 20 31 30 20 61 6e 64 20 | 74 68 65 20 72 65 73 74 | 10 and |the rest|
|00005510| 20 6f 66 20 74 68 65 20 | 6c 69 6e 65 73 20 77 69 | of the |lines wi|
|00005520| 6c 6c 20 66 6f 6c 6c 6f | 77 20 69 6e 20 69 6e 63 |ll follo|w in inc|
|00005530| 72 65 6d 65 6e 74 73 20 | 6f 66 0d 0a 20 20 20 20 |rements |of.. |
|00005540| 20 31 30 2e 20 20 46 6f | 72 20 65 78 61 6d 70 6c | 10. Fo|r exampl|
|00005550| 65 2c 20 69 66 20 61 20 | 70 72 6f 67 72 61 6d 20 |e, if a |program |
|00005560| 63 6f 6e 73 69 73 74 65 | 64 20 6f 66 20 73 69 78 |consiste|d of six|
|00005570| 20 6c 69 6e 65 73 20 6e | 75 6d 62 65 72 65 64 20 | lines n|umbered |
|00005580| 31 2c 20 32 2c 20 33 2c | 0d 0a 20 20 20 20 20 34 |1, 2, 3,|.. 4|
|00005590| 2c 20 35 2c 20 61 6e 64 | 20 36 2c 20 61 6e 64 20 |, 5, and| 6, and |
|000055a0| 79 6f 75 20 67 61 76 65 | 20 74 68 65 20 1b 45 52 |you gave| the .ER|
|000055b0| 45 4e 55 4d 1b 46 20 63 | 6f 6d 6d 61 6e 64 2c 20 |ENUM.F c|ommand, |
|000055c0| 74 68 65 20 6c 69 6e 65 | 73 20 77 6f 75 6c 64 20 |the line|s would |
|000055d0| 62 65 0d 0a 20 20 20 20 | 20 72 65 6e 75 6d 62 65 |be.. | renumbe|
|000055e0| 72 65 64 20 61 73 20 31 | 30 2c 20 32 30 2c 20 33 |red as 1|0, 20, 3|
|000055f0| 30 2c 20 61 6e 64 20 73 | 6f 20 6f 6e 2c 20 75 70 |0, and s|o on, up|
|00005600| 20 74 6f 20 36 30 2e 20 | 20 28 4f 66 20 63 6f 75 | to 60. | (Of cou|
|00005610| 72 73 65 20 79 6f 75 20 | 77 6f 6e 27 74 20 73 65 |rse you |won't se|
|00005620| 65 0d 0a 20 20 20 20 20 | 74 68 61 74 20 74 68 69 |e.. |that thi|
|00005630| 73 20 68 61 73 20 68 61 | 70 70 65 6e 65 64 20 75 |s has ha|ppened u|
|00005640| 6e 74 69 6c 20 79 6f 75 | 20 67 69 76 65 20 61 20 |ntil you| give a |
|00005650| 1b 45 4c 49 53 54 1b 46 | 20 63 6f 6d 6d 61 6e 64 |.ELIST.F| command|
|00005660| 2e 29 0d 0a 0d 0a 20 20 | 20 20 20 49 66 20 79 6f |.).... | If yo|
|00005670| 75 20 68 61 76 65 20 61 | 20 6c 69 6e 65 20 69 6e |u have a| line in|
|00005680| 20 79 6f 75 72 20 70 72 | 6f 67 72 61 6d 20 77 68 | your pr|ogram wh|
|00005690| 69 63 68 20 72 65 66 65 | 72 73 20 74 6f 20 61 6e |ich refe|rs to an|
|000056a0| 6f 74 68 65 72 20 6c 69 | 6e 65 2c 20 66 6f 72 0d |other li|ne, for.|
|000056b0| 0a 20 20 20 20 20 65 78 | 61 6d 70 6c 65 0d 0a 0d |. ex|ample...|
|000056c0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000056d0| 1b 45 39 31 30 20 47 4f | 53 55 42 20 32 30 30 30 |.E910 GO|SUB 2000|
|000056e0| 0d 0a 0d 0a 20 20 20 20 | 20 1b 46 61 6e 64 20 6c |.... | .Fand l|
|000056f0| 69 6e 65 20 32 30 30 30 | 20 69 73 20 72 65 6e 75 |ine 2000| is renu|
|00005700| 6d 62 65 72 65 64 20 74 | 6f 2c 20 73 61 79 2c 20 |mbered t|o, say, |
|00005710| 6c 69 6e 65 20 32 31 37 | 30 20 62 79 20 61 20 1b |line 217|0 by a .|
|00005720| 45 52 45 4e 55 4d 1b 46 | 20 63 6f 6d 6d 61 6e 64 |ERENUM.F| command|
|00005730| 2c 20 79 6f 75 0d 0a 20 | 20 20 20 20 77 69 6c 6c |, you.. | will|
|00005740| 20 66 69 6e 64 2c 20 75 | 70 6f 6e 20 6c 69 73 74 | find, u|pon list|
|00005750| 69 6e 67 20 79 6f 75 72 | 20 70 72 6f 67 72 61 6d |ing your| program|
|00005760| 2c 20 74 68 61 74 20 74 | 68 65 20 6c 69 6e 65 20 |, that t|he line |
|00005770| 77 68 69 63 68 20 72 65 | 66 65 72 72 65 64 20 74 |which re|ferred t|
|00005780| 6f 0d 0a 20 20 20 20 20 | 6c 69 6e 65 20 32 30 30 |o.. |line 200|
|00005790| 30 20 68 61 73 20 62 65 | 65 6e 20 61 75 74 6f 6d |0 has be|en autom|
|000057a0| 61 74 69 63 61 6c 6c 79 | 20 63 68 61 6e 67 65 64 |atically| changed|
|000057b0| 20 73 6f 20 74 68 61 74 | 20 69 74 20 6e 6f 77 20 | so that| it now |
|000057c0| 72 65 61 64 73 20 1b 45 | 47 4f 53 55 42 0d 0a 20 |reads .E|GOSUB.. |
|000057d0| 20 20 20 20 32 31 37 30 | 1b 46 2e 20 20 54 68 75 | 2170|.F. Thu|
|000057e0| 73 20 79 6f 75 20 63 61 | 6e 20 72 65 6e 75 6d 62 |s you ca|n renumb|
|000057f0| 65 72 20 79 6f 75 72 20 | 70 72 6f 67 72 61 6d 20 |er your |program |
|00005800| 77 69 74 68 6f 75 74 20 | 77 6f 72 72 79 69 6e 67 |without |worrying|
|00005810| 20 74 68 61 74 20 6c 69 | 6e 65 0d 0a 20 20 20 20 | that li|ne.. |
|00005820| 20 6e 75 6d 62 65 72 20 | 72 65 66 65 72 65 6e 63 | number |referenc|
|00005830| 65 73 20 77 69 6c 6c 20 | 72 65 66 65 72 20 74 6f |es will |refer to|
|00005840| 20 74 68 65 20 77 72 6f | 6e 67 20 6c 69 6e 65 73 | the wro|ng lines|
|00005850| 2e 0d 0a 0d 0a 0d 0a 20 | 20 20 20 20 20 20 20 20 |....... | |
|00005860| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005870| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 1b 45 | | .E|
|00005880| 20 31 36 38 0d 0a 0d 0a | 0c 0d 0a 0d 0a 0d 0a 0d | 168....|........|
|00005890| 0a 1b 46 20 20 20 20 1b | 45 20 41 50 50 45 4e 44 |..F .|E APPEND|
|000058a0| 49 58 20 43 20 1b 46 20 | 20 20 20 20 20 20 20 20 |IX C .F | |
|000058b0| 20 20 20 20 20 1b 45 20 | 20 20 20 42 41 53 49 43 | .E | BASIC|
|000058c0| 20 43 4f 4d 4d 41 4e 44 | 53 20 20 20 20 20 20 20 | COMMAND|S |
|000058d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 41 50 50 45 | | APPE|
|000058e0| 4e 44 49 58 20 43 0d 0a | 0d 0a 0d 0a 0d 0a 20 20 |NDIX C..|...... |
|000058f0| 20 20 20 1b 46 49 66 20 | 79 6f 75 20 77 61 6e 74 | .FIf |you want|
|00005900| 20 74 6f 20 67 65 74 20 | 66 61 6e 63 79 2c 20 79 | to get |fancy, y|
|00005910| 6f 75 20 63 61 6e 20 74 | 65 6c 6c 20 74 68 65 20 |ou can t|ell the |
|00005920| 1b 45 52 45 4e 55 4d 1b | 46 20 63 6f 6d 6d 61 6e |.ERENUM.|F comman|
|00005930| 64 20 74 6f 20 73 74 61 | 72 74 20 74 68 65 0d 0a |d to sta|rt the..|
|00005940| 20 20 20 20 20 6e 65 77 | 20 6e 75 6d 62 65 72 69 | new| numberi|
|00005950| 6e 67 20 73 65 71 75 65 | 6e 63 65 20 77 69 74 68 |ng seque|nce with|
|00005960| 20 61 20 70 61 72 74 69 | 63 75 6c 61 72 20 6e 75 | a parti|cular nu|
|00005970| 6d 62 65 72 20 28 74 68 | 65 20 64 65 66 61 75 6c |mber (th|e defaul|
|00005980| 74 2c 20 61 73 20 77 69 | 74 68 0d 0a 20 20 20 20 |t, as wi|th.. |
|00005990| 20 74 68 65 20 1b 45 41 | 55 54 4f 1b 46 20 63 6f | the .EA|UTO.F co|
|000059a0| 6d 6d 61 6e 64 2c 20 69 | 73 20 31 30 29 20 61 6e |mmand, i|s 10) an|
|000059b0| 64 2f 6f 72 20 74 6f 20 | 69 6e 63 72 65 6d 65 6e |d/or to |incremen|
|000059c0| 74 20 62 79 20 61 20 70 | 61 72 74 69 63 75 6c 61 |t by a p|articula|
|000059d0| 72 20 6e 75 6d 62 65 72 | 0d 0a 20 20 20 20 20 28 |r number|.. (|
|000059e0| 61 67 61 69 6e 2c 20 74 | 68 65 20 64 65 66 61 75 |again, t|he defau|
|000059f0| 6c 74 20 69 73 20 31 30 | 29 2e 20 20 59 6f 75 20 |lt is 10|). You |
|00005a00| 63 61 6e 20 61 6c 73 6f | 20 73 70 65 63 69 66 79 |can also| specify|
|00005a10| 20 77 68 69 63 68 20 6c | 69 6e 65 20 28 69 6e 20 | which l|ine (in |
|00005a20| 74 68 65 0d 0a 20 20 20 | 20 20 63 75 72 72 65 6e |the.. | curren|
|00005a30| 74 20 6e 75 6d 62 65 72 | 69 6e 67 20 73 65 71 75 |t number|ing sequ|
|00005a40| 65 6e 63 65 29 20 74 68 | 65 20 72 65 6e 75 6d 62 |ence) th|e renumb|
|00005a50| 65 72 69 6e 67 20 73 68 | 6f 75 6c 64 20 62 65 67 |ering sh|ould beg|
|00005a60| 69 6e 20 77 69 74 68 20 | 28 74 68 65 0d 0a 20 20 |in with |(the.. |
|00005a70| 20 20 20 64 65 66 61 75 | 6c 74 20 69 73 20 74 6f | defau|lt is to|
|00005a80| 20 72 65 6e 75 6d 62 65 | 72 20 74 68 65 20 77 68 | renumbe|r the wh|
|00005a90| 6f 6c 65 20 70 72 6f 67 | 72 61 6d 2c 20 62 65 67 |ole prog|ram, beg|
|00005aa0| 69 6e 6e 69 6e 67 20 77 | 69 74 68 20 74 68 65 20 |inning w|ith the |
|00005ab0| 66 69 72 73 74 0d 0a 20 | 20 20 20 20 6c 69 6e 65 |first.. | line|
|00005ac0| 29 2e 20 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |). For |example,|
|00005ad0| 20 74 68 65 20 63 6f 6d | 6d 61 6e 64 0d 0a 0d 0a | the com|mand....|
|00005ae0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 1b | | .|
|00005af0| 45 52 45 4e 55 4d 20 31 | 30 30 30 2c 20 39 30 30 |ERENUM 1|000, 900|
|00005b00| 2c 20 32 30 0d 0a 0d 0a | 20 20 20 20 20 1b 46 72 |, 20....| .Fr|
|00005b10| 65 6e 75 6d 62 65 72 73 | 20 74 68 65 20 6c 69 6e |enumbers| the lin|
|00005b20| 65 73 20 39 30 30 20 6f | 6e 20 75 70 20 73 6f 20 |es 900 o|n up so |
|00005b30| 74 68 61 74 20 74 68 65 | 20 6f 6c 64 20 6c 69 6e |that the| old lin|
|00005b40| 65 20 39 30 30 20 69 73 | 20 6e 6f 77 20 6c 69 6e |e 900 is| now lin|
|00005b50| 65 20 31 30 30 30 2c 0d | 0a 20 20 20 20 20 61 6e |e 1000,.|. an|
|00005b60| 64 20 74 68 65 20 72 65 | 73 74 20 6f 66 20 74 68 |d the re|st of th|
|00005b70| 65 20 6c 69 6e 65 20 6e | 75 6d 62 65 72 73 20 69 |e line n|umbers i|
|00005b80| 6e 63 72 65 61 73 65 20 | 69 6e 20 69 6e 63 72 65 |ncrease |in incre|
|00005b90| 6d 65 6e 74 73 20 6f 66 | 20 32 30 2e 20 20 28 53 |ments of| 20. (S|
|00005ba0| 65 65 20 74 68 65 0d 0a | 20 20 20 20 20 42 41 53 |ee the..| BAS|
|00005bb0| 49 43 41 20 52 65 66 65 | 72 65 6e 63 65 20 4d 61 |ICA Refe|rence Ma|
|00005bc0| 6e 75 61 6c 20 66 6f 72 | 20 6d 6f 72 65 20 64 65 |nual for| more de|
|00005bd0| 74 61 69 6c 73 20 6f 6e | 20 74 68 65 20 73 79 6e |tails on| the syn|
|00005be0| 74 61 78 20 6f 66 20 74 | 68 69 73 20 63 6f 6d 6d |tax of t|his comm|
|00005bf0| 61 6e 64 2e 29 0d 0a 0d | 0a 20 20 20 20 20 1b 45 |and.)...|. .E|
|00005c00| 44 45 4c 45 54 45 0d 0a | 20 20 20 20 20 1b 46 44 |DELETE..| .FD|
|00005c10| 6f 6e 27 74 20 63 6f 6e | 66 75 73 65 20 74 68 69 |on't con|fuse thi|
|00005c20| 73 20 77 69 74 68 20 74 | 68 65 20 44 4f 53 20 1b |s with t|he DOS .|
|00005c30| 45 44 45 4c 1b 46 20 63 | 6f 6d 6d 61 6e 64 2e 20 |EDEL.F c|ommand. |
|00005c40| 20 54 68 65 20 1b 45 44 | 45 4c 45 54 45 1b 46 20 | The .ED|ELETE.F |
|00005c50| 63 6f 6d 6d 61 6e 64 20 | 69 6e 0d 0a 20 20 20 20 |command |in.. |
|00005c60| 20 42 41 53 49 43 20 64 | 65 6c 65 74 65 73 20 6c | BASIC d|eletes l|
|00005c70| 69 6e 65 73 20 6f 66 20 | 61 20 70 72 6f 67 72 61 |ines of |a progra|
|00005c80| 6d 2c 20 61 73 20 6f 70 | 70 6f 73 65 64 20 74 6f |m, as op|posed to|
|00005c90| 20 74 68 65 20 44 4f 53 | 20 1b 45 44 45 4c 1b 46 | the DOS| .EDEL.F|
|00005ca0| 20 63 6f 6d 6d 61 6e 64 | 2c 0d 0a 20 20 20 20 20 | command|,.. |
|00005cb0| 77 68 69 63 68 20 64 65 | 6c 65 74 65 73 20 64 69 |which de|letes di|
|00005cc0| 73 6b 20 66 69 6c 65 73 | 2e 20 20 59 6f 75 20 63 |sk files|. You c|
|00005cd0| 61 6e 20 75 73 65 20 69 | 74 20 74 6f 20 64 65 6c |an use i|t to del|
|00005ce0| 65 74 65 20 61 20 73 69 | 6e 67 6c 65 20 6c 69 6e |ete a si|ngle lin|
|00005cf0| 65 20 6f 72 20 61 0d 0a | 20 20 20 20 20 72 61 6e |e or a..| ran|
|00005d00| 67 65 20 6f 66 20 6c 69 | 6e 65 73 3a 0d 0a 0d 0a |ge of li|nes:....|
|00005d10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 1b | | .|
|00005d20| 45 44 45 4c 45 54 45 20 | 31 32 30 0d 0a 0d 0a 20 |EDELETE |120.... |
|00005d30| 20 20 20 20 1b 46 64 65 | 6c 65 74 65 73 20 6c 69 | .Fde|letes li|
|00005d40| 6e 65 20 31 32 30 20 66 | 72 6f 6d 20 61 20 70 72 |ne 120 f|rom a pr|
|00005d50| 6f 67 72 61 6d 3b 0d 0a | 0d 0a 20 20 20 20 20 20 |ogram;..|.. |
|00005d60| 20 20 20 20 20 20 20 20 | 20 1b 45 44 45 4c 45 54 | | .EDELET|
|00005d70| 45 20 31 32 30 2d 31 35 | 30 0d 0a 0d 0a 20 20 20 |E 120-15|0.... |
|00005d80| 20 20 1b 46 64 65 6c 65 | 74 65 73 20 6c 69 6e 65 | .Fdele|tes line|
|00005d90| 20 31 32 30 20 74 68 72 | 6f 75 67 68 20 6c 69 6e | 120 thr|ough lin|
|00005da0| 65 20 31 35 30 20 69 6e | 63 6c 75 73 69 76 65 3b |e 150 in|clusive;|
|00005db0| 0d 0a 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |.... | |
|00005dc0| 20 20 20 1b 45 44 45 4c | 45 54 45 20 2d 31 35 30 | .EDEL|ETE -150|
|00005dd0| 0d 0a 0d 0a 20 20 20 20 | 20 1b 46 64 65 6c 65 74 |.... | .Fdelet|
|00005de0| 65 73 20 61 6c 6c 20 6c | 69 6e 65 73 20 66 72 6f |es all l|ines fro|
|00005df0| 6d 20 74 68 65 20 66 69 | 72 73 74 20 6c 69 6e 65 |m the fi|rst line|
|00005e00| 20 6f 66 20 74 68 65 20 | 70 72 6f 67 72 61 6d 20 | of the |program |
|00005e10| 74 68 72 6f 75 67 68 20 | 6c 69 6e 65 20 31 35 30 |through |line 150|
|00005e20| 2c 0d 0a 20 20 20 20 20 | 61 6e 64 0d 0a 0d 0a 20 |,.. |and.... |
|00005e30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 1b 45 | | .E|
|00005e40| 44 45 4c 45 54 45 20 35 | 30 30 2d 0d 0a 0d 0a 20 |DELETE 5|00-.... |
|00005e50| 20 20 20 20 1b 46 64 65 | 6c 65 74 65 73 20 61 6c | .Fde|letes al|
|00005e60| 6c 20 6c 69 6e 65 73 20 | 66 72 6f 6d 20 6c 69 6e |l lines |from lin|
|00005e70| 65 20 35 30 30 20 74 6f | 20 74 68 65 20 65 6e 64 |e 500 to| the end|
|00005e80| 20 6f 66 20 74 68 65 20 | 70 72 6f 67 72 61 6d 2e | of the |program.|
|00005e90| 20 20 4e 6f 74 65 20 74 | 68 61 74 0d 0a 20 20 20 | Note t|hat.. |
|00005ea0| 20 20 74 68 65 20 73 79 | 6e 74 61 78 20 66 6f 72 | the sy|ntax for|
|00005eb0| 20 74 68 65 20 1b 45 44 | 45 4c 45 54 45 1b 46 20 | the .ED|ELETE.F |
|00005ec0| 63 6f 6d 6d 61 6e 64 20 | 69 73 20 65 78 61 63 74 |command |is exact|
|00005ed0| 6c 79 20 74 68 65 20 73 | 61 6d 65 20 61 73 20 66 |ly the s|ame as f|
|00005ee0| 6f 72 20 74 68 65 20 1b | 45 4c 49 53 54 0d 0a 20 |or the .|ELIST.. |
|00005ef0| 20 20 20 20 1b 46 63 6f | 6d 6d 61 6e 64 2e 0d 0a | .Fco|mmand...|
|00005f00| 0d 0a 20 20 20 20 20 1b | 45 4b 45 59 0d 0a 20 20 |.. .|EKEY.. |
|00005f10| 20 20 20 1b 46 41 73 20 | 6d 65 6e 74 69 6f 6e 65 | .FAs |mentione|
|00005f20| 64 20 69 6e 20 41 70 70 | 65 6e 64 69 78 20 41 2c |d in App|endix A,|
|00005f30| 20 74 68 65 20 66 75 6e | 63 74 69 6f 6e 20 6b 65 | the fun|ction ke|
|00005f40| 79 73 20 61 74 20 74 68 | 65 20 6c 65 66 74 2d 68 |ys at th|e left-h|
|00005f50| 61 6e 64 20 73 69 64 65 | 20 6f 66 0d 0a 20 20 20 |and side| of.. |
|00005f60| 20 20 79 6f 75 72 20 6b | 65 79 62 6f 61 72 64 20 | your k|eyboard |
|00005f70| 70 72 6f 76 69 64 65 20 | 61 20 68 61 6e 64 79 20 |provide |a handy |
|00005f80| 22 73 68 6f 72 74 68 61 | 6e 64 22 20 63 61 70 61 |"shortha|nd" capa|
|00005f90| 62 69 6c 69 74 79 2e 20 | 20 59 6f 75 20 63 61 6e |bility. | You can|
|00005fa0| 20 6d 61 6b 65 20 74 68 | 65 6d 0d 0a 20 20 20 20 | make th|em.. |
|00005fb0| 20 65 76 65 6e 20 6d 6f | 72 65 20 75 73 65 66 75 | even mo|re usefu|
|00005fc0| 6c 20 62 79 20 72 65 64 | 65 66 69 6e 69 6e 67 20 |l by red|efining |
|00005fd0| 73 6f 6d 65 20 6f 66 20 | 74 68 65 20 6c 65 73 73 |some of |the less|
|00005fe0| 65 72 2d 75 73 65 64 20 | 6f 6e 65 73 20 73 6f 20 |er-used |ones so |
|00005ff0| 74 68 61 74 20 74 68 65 | 79 0d 0a 20 20 20 20 20 |that the|y.. |
|00006000| 77 69 6c 6c 20 74 79 70 | 65 20 69 6e 20 74 68 65 |will typ|e in the|
|00006010| 20 63 6f 6d 6d 61 6e 64 | 73 20 6f 66 20 79 6f 75 | command|s of you|
|00006020| 72 20 63 68 6f 69 63 65 | 20 69 6e 73 74 65 61 64 |r choice| instead|
|00006030| 20 6f 66 20 74 68 65 69 | 72 20 70 72 65 2d 73 65 | of thei|r pre-se|
|00006040| 74 0d 0a 20 20 20 20 20 | 76 61 6c 75 65 73 2e 0d |t.. |values..|
|00006050| 0a 0d 0a 20 20 20 20 20 | 59 6f 75 27 6c 6c 20 70 |... |You'll p|
|00006060| 72 6f 62 61 62 6c 79 20 | 77 61 6e 74 20 74 6f 20 |robably |want to |
|00006070| 6c 65 61 76 65 20 66 75 | 6e 63 74 69 6f 6e 20 6b |leave fu|nction k|
|00006080| 65 79 73 20 46 31 20 74 | 68 6f 75 67 68 20 46 34 |eys F1 t|hough F4|
|00006090| 20 61 6c 6f 6e 65 2c 20 | 73 69 6e 63 65 0d 0a 20 | alone, |since.. |
|000060a0| 20 20 20 20 79 6f 75 27 | 6c 6c 20 62 65 20 75 73 | you'|ll be us|
|000060b0| 69 6e 67 20 74 68 65 69 | 72 20 66 75 6e 63 74 69 |ing thei|r functi|
|000060c0| 6f 6e 73 20 28 1b 45 4c | 49 53 54 1b 46 2c 20 1b |ons (.EL|IST.F, .|
|000060d0| 45 52 55 4e 1b 46 2c 20 | 1b 45 4c 4f 41 44 1b 46 |ERUN.F, |.ELOAD.F|
|000060e0| 2c 20 61 6e 64 20 1b 45 | 53 41 56 45 1b 46 29 20 |, and .E|SAVE.F) |
|000060f0| 71 75 69 74 65 20 6f 66 | 74 65 6e 2e 0d 0a 20 20 |quite of|ten... |
|00006100| 20 20 20 42 75 74 20 74 | 68 65 20 6f 74 68 65 72 | But t|he other|
|00006110| 20 6b 65 79 73 20 61 72 | 65 20 6c 65 73 73 20 75 | keys ar|e less u|
|00006120| 73 65 66 75 6c 2c 20 61 | 74 20 6c 65 61 73 74 20 |seful, a|t least |
|00006130| 61 74 20 74 68 65 20 6f | 75 74 73 65 74 2c 20 73 |at the o|utset, s|
|00006140| 6f 20 77 68 79 20 6e 6f | 74 0d 0a 20 20 20 20 20 |o why no|t.. |
|00006150| 72 65 64 65 66 69 6e 65 | 20 73 6f 6d 65 20 6f 66 |redefine| some of|
|00006160| 20 74 68 65 6d 20 74 6f | 20 6d 65 61 6e 20 1b 45 | them to| mean .E|
|00006170| 52 45 4d 1b 46 2c 20 1b | 45 44 41 54 41 1b 46 2c |REM.F, .|EDATA.F,|
|00006180| 20 61 6e 64 20 1b 45 50 | 52 49 4e 54 1b 46 3f 20 | and .EP|RINT.F? |
|00006190| 46 6f 72 20 65 78 61 6d | 70 6c 65 2c 0d 0a 0d 0a |For exam|ple,....|
|000061a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 1b | | .|
|000061b0| 45 4b 45 59 20 35 2c 20 | 22 52 45 4d 22 0d 0a 0d |EKEY 5, |"REM"...|
|000061c0| 0a 0d 0a 1b 46 20 20 20 | 20 20 20 20 20 20 20 20 |....F | |
|000061d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000061e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 1b 45 20 31 | | .E 1|
|000061f0| 36 39 0d 0a 0d 0a 0c 0d | 0a 0d 0a 0d 0a 0d 0a 1b |69......|........|
|00006200| 46 20 20 20 20 1b 45 20 | 41 50 50 45 4e 44 49 58 |F .E |APPENDIX|
|00006210| 20 43 20 1b 46 20 20 20 | 20 20 20 20 20 20 20 20 | C .F | |
|00006220| 20 20 20 1b 45 20 20 20 | 20 42 41 53 49 43 20 43 | .E | BASIC C|
|00006230| 4f 4d 4d 41 4e 44 53 20 | 20 20 20 20 20 20 20 20 |OMMANDS | |
|00006240| 20 20 20 20 20 20 20 20 | 20 20 41 50 50 45 4e 44 | | APPEND|
|00006250| 49 58 20 43 0d 0a 0d 0a | 0d 0a 20 20 20 20 20 20 |IX C....|.. |
|00006260| 20 20 20 20 20 20 20 20 | 20 4b 45 59 20 36 2c 20 | | KEY 6, |
|00006270| 22 44 41 54 41 22 0d 0a | 20 20 20 20 20 20 20 20 |"DATA"..| |
|00006280| 20 20 20 20 20 20 20 4b | 45 59 20 37 2c 20 22 50 | K|EY 7, "P|
|00006290| 52 49 4e 54 22 0d 0a 0d | 0a 20 20 20 20 20 1b 46 |RINT"...|. .F|
|000062a0| 49 66 20 79 6f 75 20 74 | 72 79 20 69 74 2c 20 79 |If you t|ry it, y|
|000062b0| 6f 75 27 6c 6c 20 66 69 | 6e 64 20 74 68 61 74 20 |ou'll fi|nd that |
|000062c0| 74 68 65 20 6d 65 6e 75 | 20 6f 66 20 66 75 6e 63 |the menu| of func|
|000062d0| 74 69 6f 6e 20 6b 65 79 | 73 20 61 74 20 74 68 65 |tion key|s at the|
|000062e0| 20 62 6f 74 74 6f 6d 0d | 0a 20 20 20 20 20 6f 66 | bottom.|. of|
|000062f0| 20 79 6f 75 72 20 73 63 | 72 65 65 6e 20 77 69 6c | your sc|reen wil|
|00006300| 6c 20 63 68 61 6e 67 65 | 20 74 6f 20 72 65 66 6c |l change| to refl|
|00006310| 65 63 74 20 74 68 65 20 | 6e 65 77 20 64 65 66 69 |ect the |new defi|
|00006320| 6e 69 74 69 6f 6e 73 2e | 0d 0a 0d 0a 20 20 20 20 |nitions.|.... |
|00006330| 20 49 27 76 65 20 73 75 | 67 67 65 73 74 65 64 20 | I've su|ggested |
|00006340| 73 6f 6d 65 20 72 65 2d | 64 65 66 69 6e 69 74 69 |some re-|definiti|
|00006350| 6f 6e 73 20 74 68 61 74 | 20 79 6f 75 20 6d 69 67 |ons that| you mig|
|00006360| 68 74 20 66 69 6e 64 20 | 75 73 65 66 75 6c 2c 20 |ht find |useful, |
|00006370| 62 75 74 20 79 6f 75 0d | 0a 20 20 20 20 20 63 61 |but you.|. ca|
|00006380| 6e 20 64 65 66 69 6e 65 | 20 61 20 66 75 6e 63 74 |n define| a funct|
|00006390| 69 6f 6e 20 6b 65 79 20 | 61 73 20 61 6e 79 20 73 |ion key |as any s|
|000063a0| 65 71 75 65 6e 63 65 20 | 6f 66 20 63 68 61 72 61 |equence |of chara|
|000063b0| 63 74 65 72 73 20 28 75 | 70 70 65 72 20 6f 72 20 |cters (u|pper or |
|000063c0| 6c 6f 77 65 72 0d 0a 20 | 20 20 20 20 63 61 73 65 |lower.. | case|
|000063d0| 29 2c 20 75 70 20 74 6f | 20 31 35 20 63 68 61 72 |), up to| 15 char|
|000063e0| 61 63 74 65 72 73 2e 20 | 20 28 4f 6e 6c 79 20 74 |acters. | (Only t|
|000063f0| 68 65 20 66 69 72 73 74 | 20 36 20 63 68 61 72 61 |he first| 6 chara|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.