home *** CD-ROM | disk | FTP | other *** search
Unknown | 1992-01-09 | 39.3 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
| Sibelius Music / Score (music/sibeliusMusicScore)
| ext
| Unsupported |
1%
| dexvert
| IntelliFont Font (font/intelliFont)
| ext
| Unsupported |
1%
| dexvert
| Amiga Hunk Library/Object (other/amigaLibrary)
| ext
| Unsupported |
1%
| dexvert
| Amiga Shared Library (other/amigaSharedLibrary)
| ext
| Unsupported |
1%
| dexvert
| Chess Assistant File (other/chessAssistant)
| ext
| Unsupported |
1%
| dexvert
| CODESYS Library (other/codesysLibrary)
| ext
| Unsupported |
1%
| dexvert
| COFF Library (other/coffLibrary)
| ext
| Unsupported |
1%
| dexvert
| Maple Library (other/mapleLibrary)
| ext
| Unsupported |
1%
| dexvert
| TopSpeed Modula-2 Library (other/topSpeedModula2Library)
| ext
| Unsupported |
100%
| file
| data
| default
| |
100%
| TrID
| DitPack compressed data
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 9e 00 9e 00 ff ff 0d 5c | 49 0a 00 00 1a 76 11 00 |.......\|I....v..|
|00000010| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000020| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000030| 20 20 4d 45 4e 55 2e 50 | 52 47 0d 0a 0d 0a 20 20 | MENU.P|RG.... |
|00000040| 20 20 20 4d 45 4e 55 20 | 64 65 6d 6f 6e 73 74 72 | MENU |demonstr|
|00000050| 61 74 65 73 20 74 68 65 | 20 75 73 65 20 6f 66 20 |ates the| use of |
|00000060| 74 68 65 20 4d 45 4e 55 | 28 20 66 75 6e 63 74 69 |the MENU|( functi|
|00000070| 6f 6e 20 61 6c 6f 6e 67 | 20 77 69 74 68 20 61 20 |on along| with a |
|00000080| 76 61 72 69 65 74 79 20 | 6f 66 20 49 6e 66 6f 20 |variety |of Info |
|00000090| 63 6f 6d 6d 61 6e 64 73 | 20 61 6e 64 20 66 75 6e |commands| and fun|
|000000a0| 63 74 69 6f 6e 73 2e 0d | 0a 0d 0a 20 20 20 20 54 |ctions..|... T|
|000000b0| 68 65 20 6d 65 6e 75 20 | 6f 70 74 69 6f 6e 73 20 |he menu |options |
|000000c0| 61 72 65 20 61 73 20 66 | 6f 6c 6c 6f 77 73 3a 0d |are as f|ollows:.|
|000000d0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000000e0| 20 20 20 20 20 20 20 20 | 20 30 2e 20 45 78 69 74 | | 0. Exit|
|000000f0| 20 49 6e 66 6f 20 61 6e | 64 20 72 65 74 75 72 6e | Info an|d return|
|00000100| 20 74 6f 20 44 4f 53 0d | 0a 0d 0a 20 20 20 1d 00 | to DOS.|... ..|
|00000110| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000120| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000130| 20 20 4d 45 4e 55 2e 50 | 52 47 0d 0a 0d 0a 20 20 | MENU.P|RG.... |
|00000140| 20 20 20 4d 45 4e 55 20 | 64 65 6d 6f 6e 73 74 72 | MENU |demonstr|
|00000150| 61 74 65 73 20 74 68 65 | 20 75 73 65 20 6f 66 20 |ates the| use of |
|00000160| 74 68 65 20 4d 45 4e 55 | 28 20 66 75 6e 63 74 69 |the MENU|( functi|
|00000170| 6f 6e 20 61 6c 6f 6e 67 | 20 77 69 74 68 20 61 20 |on along| with a |
|00000180| 76 61 72 69 65 74 79 20 | 6f 66 20 49 6e 66 6f 20 |variety |of Info |
|00000190| 63 6f 6d 6d 61 6e 64 73 | 20 61 6e 64 20 66 75 6e |commands| and fun|
|000001a0| 63 74 69 6f 6e 73 2e 0d | 0a 0d 0a 20 20 20 20 20 |ctions..|... |
|000001b0| 4d 45 4e 55 28 20 75 73 | 65 73 20 74 77 6f 20 69 |MENU( us|es two i|
|000001c0| 6e 70 75 74 73 3a 20 74 | 68 65 20 6e 75 6d 62 65 |nputs: t|he numbe|
|000001d0| 72 20 6f 66 20 6f 70 74 | 69 6f 6e 73 20 28 4e 29 |r of opt|ions (N)|
|000001e0| 20 74 6f 20 62 65 20 61 | 76 61 69 6c 61 62 6c 65 | to be a|vailable|
|000001f0| 20 74 6f 20 74 68 65 20 | 73 65 6c 65 63 74 69 6f | to the |selectio|
|00000200| 6e 20 62 61 72 2c 20 61 | 6e 64 20 74 68 65 21 00 |n bar, a|nd the!.|
|00000210| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000220| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000230| 20 45 44 42 52 4f 57 2e | 50 52 47 0d 0a 0d 0a 20 | EDBROW.|PRG.... |
|00000240| 20 20 20 20 45 44 42 52 | 4f 57 20 69 73 20 61 20 | EDBR|OW is a |
|00000250| 73 69 6d 70 6c 65 20 70 | 72 6f 67 72 61 6d 2c 20 |simple p|rogram, |
|00000260| 75 74 69 6c 69 7a 69 6e | 67 20 61 20 6d 65 6e 75 |utilizin|g a menu|
|00000270| 2c 20 74 68 61 74 20 61 | 6c 6c 6f 77 73 20 74 68 |, that a|llows th|
|00000280| 65 20 75 73 65 72 20 74 | 6f 20 70 6f 73 69 74 69 |e user t|o positi|
|00000290| 6f 6e 20 6f 6e 20 61 20 | 72 65 63 6f 72 64 20 69 |on on a |record i|
|000002a0| 6e 20 61 20 64 61 74 61 | 20 66 69 6c 65 20 28 69 |n a data| file (i|
|000002b0| 6e 20 74 68 69 73 20 63 | 61 73 65 20 4d 45 4d 42 |n this c|ase MEMB|
|000002c0| 45 52 53 2e 44 42 46 29 | 20 61 6e 64 20 6c 6f 6f |ERS.DBF)| and loo|
|000002d0| 6b 20 61 74 20 74 68 65 | 20 64 61 74 61 20 69 6e |k at the| data in|
|000002e0| 20 65 69 74 68 65 72 20 | 45 44 49 54 20 6f 72 20 | either |EDIT or |
|000002f0| 42 52 4f 57 53 45 2e 0d | 0a 0d 0a 20 20 20 20 20 |BROWSE..|... |
|00000300| 55 73 65 72 73 20 61 72 | 65 20 61 64 76 69 2a 00 |Users ar|e advi*.|
|00000310| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000320| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000330| 20 20 45 44 42 52 4f 57 | 2e 50 52 47 0d 0a 0d 0a | EDBROW|.PRG....|
|00000340| 20 20 20 20 20 45 44 42 | 52 4f 57 20 66 6f 6c 6c | EDB|ROW foll|
|00000350| 6f 77 73 20 61 20 66 61 | 6d 69 6c 69 61 72 20 70 |ows a fa|miliar p|
|00000360| 61 74 74 65 72 6e 20 61 | 73 20 66 6f 6c 6c 6f 77 |attern a|s follow|
|00000370| 73 3a 0d 0a 0d 0a 20 20 | 20 20 20 31 2e 20 20 53 |s:.... | 1. S|
|00000380| 65 74 75 70 20 74 68 65 | 20 65 6e 76 69 72 6f 6e |etup the| environ|
|00000390| 6d 65 6e 74 2c 20 69 6e | 63 6c 75 64 69 6e 67 20 |ment, in|cluding |
|000003a0| 64 61 74 61 20 61 6e 64 | 20 69 6e 64 65 78 20 66 |data and| index f|
|000003b0| 69 6c 65 73 0d 0a 20 20 | 20 20 20 32 2e 20 20 45 |iles.. | 2. E|
|000003c0| 73 74 61 62 6c 69 73 68 | 20 61 20 44 4f 20 57 48 |stablish| a DO WH|
|000003d0| 49 4c 45 20 6c 6f 6f 70 | 20 77 68 69 63 68 20 63 |ILE loop| which c|
|000003e0| 6f 6e 74 69 6e 75 65 73 | 20 69 6e 64 65 66 69 6e |ontinues| indefin|
|000003f0| 69 74 65 6c 79 2c 20 75 | 6e 74 69 6c 20 61 20 75 |itely, u|ntil a u|
|00000400| 73 65 72 27 73 20 69 6e | 70 75 74 20 63 61 2d 00 |ser's in|put ca-.|
|00000410| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000420| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 4f | | O|
|00000430| 4e 46 49 45 4c 44 2e 50 | 52 47 0d 0a 0d 0a 20 20 |NFIELD.P|RG.... |
|00000440| 20 20 20 54 68 69 73 20 | 70 72 6f 67 72 61 6d 20 | This |program |
|00000450| 64 65 6d 6f 6e 73 74 72 | 61 74 65 73 20 74 68 65 |demonstr|ates the|
|00000460| 20 75 73 65 20 6f 66 20 | 74 68 65 20 4f 4e 20 46 | use of |the ON F|
|00000470| 49 45 4c 44 20 63 6f 6d | 6d 61 6e 64 20 61 6c 6f |IELD com|mand alo|
|00000480| 6e 67 20 77 69 74 68 20 | 61 20 76 61 72 69 65 74 |ng with |a variet|
|00000490| 79 20 6f 66 20 49 6e 66 | 6f 20 63 6f 6d 6d 61 6e |y of Inf|o comman|
|000004a0| 64 73 20 61 6e 64 20 66 | 75 6e 63 74 69 6f 6e 73 |ds and f|unctions|
|000004b0| 2e 0d 0a 0d 0a 20 20 20 | 20 20 54 68 65 20 4f 4e |..... | The ON|
|000004c0| 20 46 49 45 4c 44 2f 45 | 4e 44 4f 4e 20 73 74 72 | FIELD/E|NDON str|
|000004d0| 75 63 74 75 72 65 20 69 | 73 20 75 6e 69 71 75 65 |ucture i|s unique|
|000004e0| 20 74 6f 20 56 50 2d 49 | 6e 66 6f 20 61 6e 64 20 | to VP-I|nfo and |
|000004f0| 53 52 2d 49 6e 66 6f 2e | 20 49 74 20 69 73 20 68 |SR-Info.| It is h|
|00000500| 6f 70 65 64 20 74 68 61 | 74 20 74 68 69 73 36 00 |oped tha|t this6.|
|00000510| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000520| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 4f | | O|
|00000530| 4e 46 49 45 4c 44 2e 50 | 52 47 0d 0a 0d 0a 20 20 |NFIELD.P|RG.... |
|00000540| 20 20 20 54 68 69 73 20 | 70 72 6f 67 72 61 6d 20 | This |program |
|00000550| 64 65 6d 6f 6e 73 74 72 | 61 74 65 73 20 74 68 65 |demonstr|ates the|
|00000560| 20 75 73 65 20 6f 66 20 | 74 68 65 20 4f 4e 20 46 | use of |the ON F|
|00000570| 49 45 4c 44 20 63 6f 6d | 6d 61 6e 64 20 61 6c 6f |IELD com|mand alo|
|00000580| 6e 67 20 77 69 74 68 20 | 61 20 76 61 72 69 65 74 |ng with |a variet|
|00000590| 79 20 6f 66 20 49 6e 66 | 6f 20 63 6f 6d 6d 61 6e |y of Inf|o comman|
|000005a0| 64 73 20 61 6e 64 20 66 | 75 6e 63 74 69 6f 6e 73 |ds and f|unctions|
|000005b0| 2e 0d 0a 0d 0a 20 20 20 | 20 20 54 68 65 20 4f 4e |..... | The ON|
|000005c0| 20 46 49 45 4c 44 2f 45 | 4e 44 4f 4e 20 73 74 72 | FIELD/E|NDON str|
|000005d0| 75 63 74 75 72 65 20 69 | 73 20 75 6e 69 71 75 65 |ucture i|s unique|
|000005e0| 20 74 6f 20 56 50 2d 49 | 6e 66 6f 20 61 6e 64 20 | to VP-I|nfo and |
|000005f0| 53 52 2d 49 6e 66 6f 2e | 20 49 74 20 69 73 20 68 |SR-Info.| It is h|
|00000600| 6f 70 65 64 20 74 68 61 | 74 20 74 68 69 73 3a 00 |oped tha|t this:.|
|00000610| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000620| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000630| 4d 45 4d 42 45 52 53 2e | 50 52 47 0d 0a 0d 0a 20 |MEMBERS.|PRG.... |
|00000640| 20 20 20 20 54 68 69 73 | 20 73 68 6f 72 74 20 70 | This| short p|
|00000650| 72 6f 67 72 61 6d 20 6f | 66 66 65 72 73 20 6d 6f |rogram o|ffers mo|
|00000660| 73 74 20 6f 66 20 74 68 | 65 20 66 75 6e 63 74 69 |st of th|e functi|
|00000670| 6f 6e 61 6c 69 74 79 20 | 72 65 71 75 69 72 65 64 |onality |required|
|00000680| 20 66 6f 72 20 62 61 73 | 69 63 20 6c 69 73 74 20 | for bas|ic list |
|00000690| 6d 61 6e 61 67 65 6d 65 | 6e 74 2e 20 41 64 64 20 |manageme|nt. Add |
|000006a0| 70 72 6f 76 69 73 69 6f | 6e 73 20 74 6f 20 64 65 |provisio|ns to de|
|000006b0| 6c 65 74 65 20 72 65 63 | 6f 72 64 73 20 61 6e 64 |lete rec|ords and|
|000006c0| 20 70 72 69 6e 74 20 72 | 65 70 6f 72 74 73 20 61 | print r|eports a|
|000006d0| 6e 64 20 79 6f 75 20 68 | 61 76 65 20 61 20 66 75 |nd you h|ave a fu|
|000006e0| 6c 6c 2d 62 6c 6f 77 6e | 20 61 70 70 6c 69 63 61 |ll-blown| applica|
|000006f0| 74 69 6f 6e 2e 0d 0a 0d | 0a 20 20 20 20 20 4d 45 |tion....|. ME|
|00000700| 4d 42 45 52 53 20 64 65 | 6d 6f 6e 73 74 72 49 00 |MBERS de|monstrI.|
|00000710| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000720| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000730| 4d 45 4d 42 45 52 53 2e | 50 52 47 0d 0a 0d 0a 20 |MEMBERS.|PRG.... |
|00000740| 20 20 20 20 54 68 69 73 | 20 73 68 6f 72 74 20 70 | This| short p|
|00000750| 72 6f 67 72 61 6d 20 6f | 66 66 65 72 73 20 6d 6f |rogram o|ffers mo|
|00000760| 73 74 20 6f 66 20 74 68 | 65 20 66 75 6e 63 74 69 |st of th|e functi|
|00000770| 6f 6e 61 6c 69 74 79 20 | 72 65 71 75 69 72 65 64 |onality |required|
|00000780| 20 66 6f 72 20 62 61 73 | 69 63 20 6c 69 73 74 20 | for bas|ic list |
|00000790| 6d 61 6e 61 67 65 6d 65 | 6e 74 2e 20 41 64 64 20 |manageme|nt. Add |
|000007a0| 70 72 6f 76 69 73 69 6f | 6e 73 20 74 6f 20 64 65 |provisio|ns to de|
|000007b0| 6c 65 74 65 20 72 65 63 | 6f 72 64 73 20 61 6e 64 |lete rec|ords and|
|000007c0| 20 70 72 69 6e 74 20 72 | 65 70 6f 72 74 73 20 61 | print r|eports a|
|000007d0| 6e 64 20 79 6f 75 20 68 | 61 76 65 20 61 20 66 75 |nd you h|ave a fu|
|000007e0| 6c 6c 2d 62 6c 6f 77 6e | 20 61 70 70 6c 69 63 61 |ll-blown| applica|
|000007f0| 74 69 6f 6e 2e 0d 0a 0d | 0a 20 20 20 20 20 4d 45 |tion....|. ME|
|00000800| 4d 42 45 52 53 20 75 73 | 65 20 6d 61 6e 79 4e 00 |MBERS us|e manyN.|
|00000810| 54 68 65 20 53 52 2d 49 | 6e 66 6f 20 6c 6f 67 6f |The SR-I|nfo logo|
|00000820| 6e 20 73 63 72 65 65 6e | 20 63 6f 6e 73 69 73 74 |n screen| consist|
|00000830| 73 20 6f 66 20 61 20 73 | 65 72 69 65 73 20 6f 66 |s of a s|eries of|
|00000840| 20 62 6c 6f 63 6b 73 20 | 77 68 69 63 68 20 27 75 | blocks |which 'u|
|00000850| 6e 66 6f 6c 64 27 20 74 | 6f 20 72 65 76 65 61 6c |nfold' t|o reveal|
|00000860| 20 74 68 65 20 6c 65 74 | 74 65 72 73 20 53 52 49 | the let|ters SRI|
|00000870| 2e 20 55 73 65 72 73 20 | 61 72 65 20 70 6c 61 63 |. Users |are plac|
|00000880| 65 64 20 69 6e 20 61 20 | 6c 6f 6f 70 20 77 68 69 |ed in a |loop whi|
|00000890| 63 68 20 63 61 6e 20 6f | 6e 6c 79 20 62 65 20 65 |ch can o|nly be e|
|000008a0| 78 69 74 65 64 20 62 79 | 20 70 72 65 73 73 69 6e |xited by| pressin|
|000008b0| 67 20 46 31 30 2e 0d 0a | 1a 00 00 00 00 00 00 00 |g F10...|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000910| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000920| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000930| 20 53 52 49 4c 4f 47 4f | 4e 2e 50 52 47 0d 0a 0d | SRILOGO|N.PRG...|
|00000940| 0a 20 20 20 20 20 53 52 | 49 4c 4f 47 4f 4e 20 64 |. SR|ILOGON d|
|00000950| 65 6d 6f 6e 73 74 72 61 | 74 65 73 20 74 68 65 20 |emonstra|tes the |
|00000960| 75 73 65 20 6f 66 20 74 | 68 65 20 43 4f 4c 4f 52 |use of t|he COLOR|
|00000970| 20 63 6f 6d 6d 61 6e 64 | 20 74 6f 20 70 61 69 6e | command| to pain|
|00000980| 74 20 62 6c 6f 63 6b 73 | 2e 20 54 68 65 20 73 69 |t blocks|. The si|
|00000990| 67 6e 2d 6f 6e 20 73 63 | 72 65 65 6e 20 66 6f 72 |gn-on sc|reen for|
|000009a0| 20 53 52 2d 49 6e 66 6f | 2c 20 74 68 65 20 73 68 | SR-Info|, the sh|
|000009b0| 61 72 65 77 61 72 65 20 | 65 64 69 74 69 6f 6e 20 |areware |edition |
|000009c0| 6f 66 20 74 68 65 20 53 | 75 62 20 52 6f 73 61 20 |of the S|ub Rosa |
|000009d0| 64 61 74 61 62 61 73 65 | 20 6c 61 6e 67 75 61 67 |database| languag|
|000009e0| 65 2c 20 77 61 73 20 64 | 65 73 69 67 6e 65 64 20 |e, was d|esigned |
|000009f0| 66 72 6f 6d 20 74 68 69 | 73 20 74 65 73 74 20 63 |from thi|s test c|
|00000a00| 6f 64 65 2e 0d 0a 0d 0a | 20 20 20 20 20 4d 5d 00 |ode.....| M].|
|00000a10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000a20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000a30| 45 46 46 45 43 54 53 2e | 50 52 47 0d 0a 0d 0a 20 |EFFECTS.|PRG.... |
|00000a40| 20 20 20 20 45 46 46 45 | 43 54 53 20 64 65 6d 6f | EFFE|CTS demo|
|00000a50| 6e 73 74 72 61 74 65 73 | 20 74 68 65 20 75 73 65 |nstrates| the use|
|00000a60| 20 6f 66 20 74 68 65 20 | 53 4f 55 4e 44 20 61 6e | of the |SOUND an|
|00000a70| 64 20 53 43 52 45 45 4e | 20 63 6f 6d 6d 61 6e 64 |d SCREEN| command|
|00000a80| 73 2e 20 45 46 46 45 43 | 54 53 20 69 73 20 63 6f |s. EFFEC|TS is co|
|00000a90| 6d 70 61 74 69 62 6c 65 | 20 77 69 74 68 20 61 6c |mpatible| with al|
|00000aa0| 6c 20 63 75 72 72 65 6e | 74 20 76 65 72 73 69 6f |l curren|t versio|
|00000ab0| 6e 73 20 6f 66 20 56 50 | 2d 49 6e 66 6f 2e 0d 0a |ns of VP|-Info...|
|00000ac0| 0d 0a 20 20 20 20 20 43 | 41 55 54 49 4f 4e 3a 20 |.. C|AUTION: |
|00000ad0| 54 68 65 20 53 75 62 20 | 52 6f 73 61 20 73 70 65 |The Sub |Rosa spe|
|00000ae0| 63 69 61 6c 20 65 66 66 | 65 63 74 73 20 70 61 63 |cial eff|ects pac|
|00000af0| 6b 61 67 65 20 68 61 73 | 20 62 65 65 6e 20 74 65 |kage has| been te|
|00000b00| 73 74 65 64 20 6f 6e 20 | 61 20 77 69 64 65 60 00 |sted on |a wide`.|
|00000b10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000b20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000b30| 45 46 46 45 43 54 53 2e | 50 52 47 0d 0a 0d 0a 20 |EFFECTS.|PRG.... |
|00000b40| 20 20 20 20 54 68 69 73 | 20 70 72 6f 67 72 61 6d | This| program|
|00000b50| 20 75 73 65 73 20 61 20 | 76 61 72 69 65 74 79 20 | uses a |variety |
|00000b60| 6f 66 20 63 6f 6d 6d 61 | 6e 64 73 20 74 6f 20 62 |of comma|nds to b|
|00000b70| 75 69 6c 64 20 75 70 20 | 73 63 72 65 65 6e 73 20 |uild up |screens |
|00000b80| 69 6e 20 74 68 65 20 62 | 61 63 6b 67 72 6f 75 6e |in the b|ackgroun|
|00000b90| 64 2c 20 61 6e 64 20 74 | 68 65 6e 20 73 77 61 70 |d, and t|hen swap|
|00000ba0| 20 74 68 65 6d 20 69 6e | 74 6f 20 74 68 65 20 76 | them in|to the v|
|00000bb0| 69 73 69 62 6c 65 20 66 | 6f 72 65 67 72 6f 75 6e |isible f|oregroun|
|00000bc0| 64 20 73 63 72 65 65 6e | 20 77 69 74 68 20 73 70 |d screen| with sp|
|00000bd0| 65 63 69 61 6c 20 73 63 | 72 65 65 6e 20 61 6e 64 |ecial sc|reen and|
|00000be0| 20 73 6f 75 6e 64 20 65 | 66 66 65 63 74 73 2e 0d | sound e|ffects..|
|00000bf0| 0a 0d 0a 20 20 20 20 54 | 68 65 20 63 6f 6d 6d 61 |... T|he comma|
|00000c00| 6e 64 73 20 75 73 65 64 | 20 69 6e 63 6c 75 62 00 |nds used| inclub.|
|00000c10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000c20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000c30| 20 20 20 44 41 54 45 53 | 2e 50 52 47 0d 0a 0d 0a | DATES|.PRG....|
|00000c40| 20 20 20 20 20 44 41 54 | 45 53 20 64 65 6d 6f 6e | DAT|ES demon|
|00000c50| 73 74 72 61 74 65 73 20 | 74 68 65 20 75 73 65 20 |strates |the use |
|00000c60| 6f 66 20 44 41 54 45 28 | 29 20 61 6e 64 20 74 68 |of DATE(|) and th|
|00000c70| 65 20 44 41 59 53 28 29 | 20 66 75 6e 63 74 69 6f |e DAYS()| functio|
|00000c80| 6e 73 20 74 6f 20 67 65 | 6e 65 72 61 74 65 20 61 |ns to ge|nerate a|
|00000c90| 20 77 69 64 65 20 76 61 | 72 69 65 74 79 20 6f 66 | wide va|riety of|
|00000ca0| 20 66 6f 72 6d 61 74 74 | 65 64 20 6f 75 74 70 75 | formatt|ed outpu|
|00000cb0| 74 73 20 61 6e 64 20 6f | 74 68 65 72 20 69 6e 66 |ts and o|ther inf|
|00000cc0| 6f 72 6d 61 74 69 6f 6e | 2e 0d 0a 0d 0a 20 20 20 |ormation|..... |
|00000cd0| 20 20 44 41 54 45 53 20 | 69 73 20 63 6f 6d 70 61 | DATES |is compa|
|00000ce0| 74 69 62 6c 65 20 77 69 | 74 68 20 61 6c 6c 20 63 |tible wi|th all c|
|00000cf0| 75 72 72 65 6e 74 20 76 | 65 72 73 69 6f 6e 73 20 |urrent v|ersions |
|00000d00| 6f 66 20 53 52 2d 49 6e | 66 6f 20 61 6e 64 66 00 |of SR-In|fo andf.|
|00000d10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000d20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000d30| 20 20 20 44 41 54 45 53 | 2e 50 52 47 0d 0a 0d 0a | DATES|.PRG....|
|00000d40| 20 20 20 20 20 41 6c 6c | 20 64 61 74 65 20 63 61 | All| date ca|
|00000d50| 6c 63 75 6c 61 74 69 6f | 6e 73 20 69 6e 20 49 6e |lculatio|ns in In|
|00000d60| 66 6f 20 61 72 65 20 62 | 61 73 65 64 20 6f 6e 20 |fo are b|ased on |
|00000d70| 74 68 65 20 73 65 74 74 | 69 6e 67 20 6f 66 20 74 |the sett|ing of t|
|00000d80| 68 65 20 53 45 54 20 44 | 41 54 45 20 54 4f 20 63 |he SET D|ATE TO c|
|00000d90| 6f 6d 6d 61 6e 64 2c 20 | 77 68 69 63 68 20 64 65 |ommand, |which de|
|00000da0| 66 61 75 6c 74 73 20 74 | 6f 20 27 6d 6d 64 64 79 |faults t|o 'mmddy|
|00000db0| 79 79 79 27 2e 0d 0a 0d | 0a 20 20 20 20 20 54 68 |yyy'....|. Th|
|00000dc0| 65 20 6e 69 6e 65 20 64 | 61 74 65 20 66 6f 72 6d |e nine d|ate form|
|00000dd0| 61 74 73 20 61 72 65 20 | 6e 75 6d 62 65 72 65 64 |ats are |numbered|
|00000de0| 20 31 2d 39 2c 20 62 75 | 74 20 61 6c 6c 20 68 61 | 1-9, bu|t all ha|
|00000df0| 76 65 20 6e 61 6d 65 73 | 20 74 68 61 74 20 63 61 |ve names| that ca|
|00000e00| 6e 20 62 65 20 75 73 65 | 64 20 61 73 20 77 68 00 |n be use|d as wh.|
|00000e10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000e20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000e30| 20 52 45 4c 41 54 49 4f | 4e 2e 50 52 47 0d 0a 0d | RELATIO|N.PRG...|
|00000e40| 0a 20 20 20 20 20 52 45 | 4c 41 54 49 4f 4e 2e 50 |. RE|LATION.P|
|00000e50| 52 47 20 64 65 6d 6f 6e | 73 74 72 61 74 65 73 20 |RG demon|strates |
|00000e60| 75 73 65 20 6f 66 20 74 | 77 6f 20 72 65 6c 61 74 |use of t|wo relat|
|00000e70| 65 64 20 64 61 74 61 20 | 66 69 6c 65 73 20 61 6e |ed data |files an|
|00000e80| 64 20 74 68 65 20 46 49 | 4e 44 20 63 6f 6d 6d 61 |d the FI|ND comma|
|00000e90| 6e 64 0d 0a 0d 0a 20 20 | 20 20 20 4d 41 53 54 52 |nd.... | MASTR|
|00000ea0| 41 4e 20 61 6e 64 20 43 | 55 53 54 4c 49 53 54 20 |AN and C|USTLIST |
|00000eb0| 61 72 65 20 62 6f 74 68 | 20 69 6e 64 65 78 65 64 |are both| indexed|
|00000ec0| 20 6f 6e 20 74 68 65 20 | 63 75 73 74 6f 6d 65 72 | on the |customer|
|00000ed0| 20 6e 75 6d 62 65 72 2e | 20 41 20 72 65 63 6f 72 | number.| A recor|
|00000ee0| 64 20 69 73 20 66 6f 75 | 6e 64 20 69 6e 20 4d 41 |d is fou|nd in MA|
|00000ef0| 53 54 52 41 4e 20 62 79 | 20 68 61 76 69 6e 67 20 |STRAN by| having |
|00000f00| 74 68 65 20 75 73 65 72 | 20 65 6e 74 65 72 6b 00 |the user| enterk.|
|00000f10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000f20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000f30| 20 52 45 4c 41 54 49 4f | 4e 2e 50 52 47 0d 0a 0d | RELATIO|N.PRG...|
|00000f40| 0a 20 20 20 20 20 52 45 | 4c 41 54 49 4f 4e 2e 50 |. RE|LATION.P|
|00000f50| 52 47 20 64 65 6d 6f 6e | 73 74 72 61 74 65 73 20 |RG demon|strates |
|00000f60| 75 73 65 20 6f 66 20 74 | 77 6f 20 72 65 6c 61 74 |use of t|wo relat|
|00000f70| 65 64 20 64 61 74 61 20 | 66 69 6c 65 73 20 61 6e |ed data |files an|
|00000f80| 64 20 74 68 65 20 46 49 | 4e 44 20 63 6f 6d 6d 61 |d the FI|ND comma|
|00000f90| 6e 64 0d 0a 0d 0a 20 20 | 20 20 20 4d 41 53 54 52 |nd.... | MASTR|
|00000fa0| 41 4e 20 61 6e 64 20 43 | 55 53 54 4c 49 53 54 20 |AN and C|USTLIST |
|00000fb0| 61 72 65 20 62 6f 74 68 | 20 69 6e 64 65 78 65 64 |are both| indexed|
|00000fc0| 20 6f 6e 20 74 68 65 20 | 63 75 73 74 6f 6d 65 72 | on the |customer|
|00000fd0| 20 6e 75 6d 62 65 72 2e | 20 41 20 72 65 63 6f 72 | number.| A recor|
|00000fe0| 64 20 69 73 20 66 6f 75 | 6e 64 20 69 6e 20 4d 41 |d is fou|nd in MA|
|00000ff0| 53 54 52 41 4e 20 62 79 | 20 68 61 76 69 6e 67 20 |STRAN by| having |
|00001000| 74 68 65 20 75 73 65 72 | 20 65 6e 74 65 72 6d 00 |the user| enterm.|
|00001010| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001020| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001030| 20 41 50 50 46 52 4f 4d | 2e 50 52 47 0d 0a 0d 0a | APPFROM|.PRG....|
|00001040| 20 20 20 20 20 41 50 50 | 46 52 4f 4d 20 64 65 6d | APP|FROM dem|
|00001050| 6f 6e 73 74 72 61 74 65 | 73 20 74 68 65 20 75 73 |onstrate|s the us|
|00001060| 65 20 6f 66 20 74 68 65 | 20 41 50 50 45 4e 44 20 |e of the| APPEND |
|00001070| 46 52 4f 4d 20 63 6f 6d | 6d 61 6e 64 2e 20 52 65 |FROM com|mand. Re|
|00001080| 63 6f 72 64 73 20 61 72 | 65 20 6d 6f 76 65 64 20 |cords ar|e moved |
|00001090| 66 72 6f 6d 20 74 68 65 | 20 66 69 6c 65 20 4f 50 |from the| file OP|
|000010a0| 45 4e 54 52 41 4e 20 61 | 66 74 65 72 20 74 68 65 |ENTRAN a|fter the|
|000010b0| 20 72 65 74 75 72 6e 20 | 64 61 74 65 20 69 73 20 | return |date is |
|000010c0| 66 69 6c 6c 65 64 20 69 | 6e 2e 0d 0a 0d 0a 20 20 |filled i|n..... |
|000010d0| 20 20 20 41 50 50 46 52 | 4f 4d 20 69 73 20 63 6f | APPFR|OM is co|
|000010e0| 6d 70 61 74 69 62 6c 65 | 20 77 69 74 68 20 61 6c |mpatible| with al|
|000010f0| 6c 20 63 75 72 72 65 6e | 74 20 76 65 72 73 69 6f |l curren|t versio|
|00001100| 6e 73 20 6f 66 20 53 52 | 2d 49 6e 66 6f 20 70 00 |ns of SR|-Info p.|
|00001110| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001120| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001130| 20 41 50 50 46 52 4f 4d | 2e 50 52 47 0d 0a 0d 0a | APPFROM|.PRG....|
|00001140| 20 20 20 20 20 41 50 50 | 46 52 4f 4d 20 64 65 6d | APP|FROM dem|
|00001150| 6f 6e 73 74 72 61 74 65 | 73 20 74 68 65 20 75 73 |onstrate|s the us|
|00001160| 65 20 6f 66 20 74 68 65 | 20 41 50 50 45 4e 44 20 |e of the| APPEND |
|00001170| 46 52 4f 4d 20 63 6f 6d | 6d 61 6e 64 2e 20 52 65 |FROM com|mand. Re|
|00001180| 63 6f 72 64 73 20 61 72 | 65 20 6d 6f 76 65 64 20 |cords ar|e moved |
|00001190| 66 72 6f 6d 20 74 68 65 | 20 66 69 6c 65 20 4f 50 |from the| file OP|
|000011a0| 45 4e 54 52 41 4e 20 61 | 66 74 65 72 20 74 68 65 |ENTRAN a|fter the|
|000011b0| 20 72 65 74 75 72 6e 20 | 64 61 74 65 20 69 73 20 | return |date is |
|000011c0| 66 69 6c 6c 65 64 20 69 | 6e 2e 0d 0a 0d 0a 20 20 |filled i|n..... |
|000011d0| 20 20 20 41 50 50 46 52 | 4f 4d 20 69 73 20 63 6f | APPFR|OM is co|
|000011e0| 6d 70 61 74 69 62 6c 65 | 20 77 69 74 68 20 61 6c |mpatible| with al|
|000011f0| 6c 20 63 75 72 72 65 6e | 74 20 76 65 72 73 69 6f |l curren|t versio|
|00001200| 6e 73 20 6f 66 20 53 52 | 2d 49 6e 66 6f 20 72 00 |ns of SR|-Info r.|
|00001210| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001220| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001230| 20 4f 4e 45 4c 41 42 45 | 4c 2e 50 52 47 0d 0a 0d | ONELABE|L.PRG...|
|00001240| 0a 20 20 20 20 20 4f 4e | 45 4c 41 42 45 4c 20 69 |. ON|ELABEL i|
|00001250| 73 20 61 20 73 61 6d 70 | 6c 65 20 70 72 6f 67 72 |s a samp|le progr|
|00001260| 61 6d 20 74 6f 20 70 72 | 69 6e 74 20 6d 61 69 6c |am to pr|int mail|
|00001270| 69 6e 67 20 6c 61 62 65 | 6c 73 20 77 69 74 68 20 |ing labe|ls with |
|00001280| 76 65 72 79 20 6c 69 74 | 74 6c 65 20 65 66 66 6f |very lit|tle effo|
|00001290| 72 74 2e 20 4b 65 79 20 | 69 6e 20 74 68 65 20 74 |rt. Key |in the t|
|000012a0| 65 78 74 20 6c 69 6e 65 | 73 20 61 6e 64 20 6d 61 |ext line|s and ma|
|000012b0| 6b 65 20 6f 6e 65 20 6f | 72 20 6d 61 6e 79 20 63 |ke one o|r many c|
|000012c0| 6f 70 69 65 73 20 6f 66 | 20 65 61 63 68 20 6c 61 |opies of| each la|
|000012d0| 62 65 6c 2e 0d 0a 0d 0a | 20 20 20 20 20 4f 4e 45 |bel.....| ONE|
|000012e0| 4c 41 42 45 4c 20 69 73 | 20 63 6f 6d 70 61 74 69 |LABEL is| compati|
|000012f0| 62 6c 65 20 77 69 74 68 | 20 61 6c 6c 20 63 75 72 |ble with| all cur|
|00001300| 72 65 6e 74 20 76 65 72 | 73 69 6f 6e 73 20 76 00 |rent ver|sions v.|
|00001310| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001320| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001330| 20 4f 4e 45 4c 41 42 45 | 4c 2e 50 52 47 0d 0a 0d | ONELABE|L.PRG...|
|00001340| 0a 20 20 20 20 20 4f 4e | 45 4c 41 42 45 4c 20 69 |. ON|ELABEL i|
|00001350| 73 20 61 20 73 61 6d 70 | 6c 65 20 70 72 6f 67 72 |s a samp|le progr|
|00001360| 61 6d 20 74 6f 20 70 72 | 69 6e 74 20 6d 61 69 6c |am to pr|int mail|
|00001370| 69 6e 67 20 6c 61 62 65 | 6c 73 20 77 69 74 68 20 |ing labe|ls with |
|00001380| 76 65 72 79 20 6c 69 74 | 74 6c 65 20 65 66 66 6f |very lit|tle effo|
|00001390| 72 74 2e 20 4b 65 79 20 | 69 6e 20 74 68 65 20 74 |rt. Key |in the t|
|000013a0| 65 78 74 20 6c 69 6e 65 | 73 20 61 6e 64 20 6d 61 |ext line|s and ma|
|000013b0| 6b 65 20 6f 6e 65 20 6f | 72 20 6d 61 6e 79 20 63 |ke one o|r many c|
|000013c0| 6f 70 69 65 73 20 6f 66 | 20 65 61 63 68 20 6c 61 |opies of| each la|
|000013d0| 62 65 6c 2e 0d 0a 0d 0a | 20 20 20 20 20 53 69 6e |bel.....| Sin|
|000013e0| 63 65 20 70 72 69 6e 74 | 65 72 73 20 64 6f 20 6e |ce print|ers do n|
|000013f0| 6f 74 20 6e 6f 72 6d 61 | 6c 6c 79 20 61 6c 6c 6f |ot norma|lly allo|
|00001400| 77 20 75 73 65 72 73 20 | 74 6f 20 73 65 74 77 00 |w users |to setw.|
|00001410| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001420| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001430| 20 56 45 43 54 4f 52 2e | 50 52 47 0d 0a 0d 0a 20 | VECTOR.|PRG.... |
|00001440| 20 20 20 20 54 68 69 73 | 20 70 72 6f 67 72 61 6d | This| program|
|00001450| 20 64 65 6d 6f 6e 73 74 | 72 61 74 65 73 20 74 77 | demonst|rates tw|
|00001460| 6f 20 76 65 72 79 20 69 | 6d 70 6f 72 74 61 6e 74 |o very i|mportant|
|00001470| 2c 20 61 64 76 61 6e 63 | 65 64 20 74 65 63 68 6e |, advanc|ed techn|
|00001480| 69 71 75 65 73 2c 20 77 | 68 69 63 68 20 61 72 65 |iques, w|hich are|
|00001490| 20 62 6f 74 68 20 63 6f | 6d 70 61 74 69 62 6c 65 | both co|mpatible|
|000014a0| 20 77 69 74 68 20 61 6c | 6c 20 76 65 72 73 69 6f | with al|l versio|
|000014b0| 6e 73 20 6f 66 20 56 50 | 2d 49 6e 66 6f 20 61 6e |ns of VP|-Info an|
|000014c0| 64 20 53 52 2d 49 6e 66 | 6f 3a 0d 0a 0d 0a 20 20 |d SR-Inf|o:.... |
|000014d0| 20 20 20 31 2e 20 20 20 | 55 73 65 20 6f 66 20 64 | 1. |Use of d|
|000014e0| 61 74 61 20 66 69 6c 65 | 73 20 70 75 74 20 69 6e |ata file|s put in|
|000014f0| 74 6f 20 75 73 65 20 77 | 69 74 68 20 6d 61 63 72 |to use w|ith macr|
|00001500| 6f 73 2e 20 20 4e 6f 74 | 65 3a 20 61 20 64 7a 00 |os. Not|e: a dz.|
|00001510| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001520| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001530| 20 20 56 45 43 54 4f 52 | 2e 50 52 47 0d 0a 0d 0a | VECTOR|.PRG....|
|00001540| 20 20 20 20 20 54 68 69 | 73 20 70 72 6f 67 72 61 | Thi|s progra|
|00001550| 6d 20 64 65 6d 6f 6e 73 | 74 72 61 74 65 73 20 74 |m demons|trates t|
|00001560| 77 6f 20 76 65 72 79 20 | 69 6d 70 6f 72 74 61 6e |wo very |importan|
|00001570| 74 2c 20 61 64 76 61 6e | 63 65 64 20 74 65 63 68 |t, advan|ced tech|
|00001580| 6e 69 71 75 65 73 2c 20 | 77 68 69 63 68 20 61 72 |niques, |which ar|
|00001590| 65 20 62 6f 74 68 20 63 | 6f 6d 70 61 74 69 62 6c |e both c|ompatibl|
|000015a0| 65 20 77 69 74 68 20 61 | 6c 6c 20 76 65 72 73 69 |e with a|ll versi|
|000015b0| 6f 6e 73 20 6f 66 20 56 | 50 2d 49 6e 66 6f 20 61 |ons of V|P-Info a|
|000015c0| 6e 64 20 53 52 2d 49 6e | 66 6f 3a 0d 0a 0d 0a 20 |nd SR-In|fo:.... |
|000015d0| 20 20 20 20 31 2e 20 20 | 20 55 73 65 20 6f 66 20 | 1. | Use of |
|000015e0| 64 61 74 61 20 66 69 6c | 65 73 20 70 75 74 20 69 |data fil|es put i|
|000015f0| 6e 74 6f 20 75 73 65 20 | 77 69 74 68 20 6d 61 63 |nto use |with mac|
|00001600| 72 6f 73 2e 20 20 4e 6f | 74 65 3a 20 61 20 7b 00 |ros. No|te: a {.|
|00001610| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001620| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001630| 20 20 20 46 49 4c 54 45 | 52 43 52 2e 50 52 47 0d | FILTE|RCR.PRG.|
|00001640| 0a 0d 0a 20 20 20 20 20 | 46 49 4c 54 45 52 43 52 |... |FILTERCR|
|00001650| 20 64 65 6d 6f 6e 73 74 | 72 61 74 65 73 20 74 68 | demonst|rates th|
|00001660| 65 20 75 73 65 20 6f 66 | 20 73 65 71 75 65 6e 74 |e use of| sequent|
|00001670| 69 61 6c 20 66 69 6c 65 | 20 66 75 6e 63 74 69 6f |ial file| functio|
|00001680| 6e 73 20 74 6f 20 70 72 | 6f 64 75 63 65 20 61 6e |ns to pr|oduce an|
|00001690| 20 61 6c 74 65 72 65 64 | 20 63 6f 70 79 20 6f 66 | altered| copy of|
|000016a0| 20 67 69 76 65 6e 20 66 | 69 6c 65 2e 0d 0a 0d 0a | given f|ile.....|
|000016b0| 20 20 20 20 46 49 4c 54 | 45 52 43 52 20 69 73 20 | FILT|ERCR is |
|000016c0| 63 6f 6d 70 61 74 69 62 | 6c 65 20 77 69 74 68 20 |compatib|le with |
|000016d0| 61 6c 6c 20 63 75 72 72 | 65 6e 74 20 76 65 72 73 |all curr|ent vers|
|000016e0| 69 6f 6e 73 20 6f 66 20 | 53 52 2d 49 6e 66 6f 20 |ions of |SR-Info |
|000016f0| 61 6e 64 20 56 50 2d 49 | 6e 66 6f 2e 0d 0a 0d 0a |and VP-I|nfo.....|
|00001700| 20 20 20 20 46 49 4c 54 | 45 52 43 52 20 70 80 00 | FILT|ERCR p..|
|00001710| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001720| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001730| 20 20 20 46 49 4c 54 45 | 52 43 52 2e 50 52 47 0d | FILTE|RCR.PRG.|
|00001740| 0a 0d 0a 20 20 20 20 20 | 46 49 4c 54 45 52 43 52 |... |FILTERCR|
|00001750| 20 64 65 6d 6f 6e 73 74 | 72 61 74 65 73 20 74 68 | demonst|rates th|
|00001760| 65 20 75 73 65 20 6f 66 | 20 73 65 71 75 65 6e 74 |e use of| sequent|
|00001770| 69 61 6c 20 66 69 6c 65 | 20 66 75 6e 63 74 69 6f |ial file| functio|
|00001780| 6e 73 20 74 6f 20 70 72 | 6f 64 75 63 65 20 61 6e |ns to pr|oduce an|
|00001790| 20 61 6c 74 65 72 65 64 | 20 63 6f 70 79 20 6f 66 | altered| copy of|
|000017a0| 20 67 69 76 65 6e 20 66 | 69 6c 65 2e 0d 0a 0d 0a | given f|ile.....|
|000017b0| 20 20 20 20 20 46 49 4c | 54 45 52 43 52 20 70 72 | FIL|TERCR pr|
|000017c0| 6f 76 69 64 65 73 20 61 | 20 66 61 63 69 6c 69 74 |ovides a| facilit|
|000017d0| 79 20 6e 6f 74 20 75 73 | 75 61 6c 6c 79 20 61 76 |y not us|ually av|
|000017e0| 61 69 6c 61 62 6c 65 20 | 6f 6e 20 74 65 78 74 20 |ailable |on text |
|000017f0| 65 64 69 74 6f 72 73 2e | 20 49 74 20 72 65 70 6c |editors.| It repl|
|00001800| 61 63 65 73 20 61 20 73 | 65 6c 65 63 74 65 82 00 |aces a s|electe..|
|00001810| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001820| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001830| 20 20 20 20 42 49 54 2e | 50 52 47 0d 0a 0d 0a 20 | BIT.|PRG.... |
|00001840| 20 20 20 20 42 49 54 20 | 64 65 6d 6f 6e 73 74 72 | BIT |demonstr|
|00001850| 61 74 65 73 20 74 68 65 | 20 75 73 65 20 6f 66 20 |ates the| use of |
|00001860| 42 49 54 28 20 66 75 6e | 63 74 69 6f 6e 20 74 6f |BIT( fun|ction to|
|00001870| 20 67 65 6e 65 72 61 74 | 65 20 74 68 65 20 62 69 | generat|e the bi|
|00001880| 6e 61 72 79 20 63 6f 64 | 65 20 66 6f 72 20 63 68 |nary cod|e for ch|
|00001890| 61 72 61 63 74 65 72 73 | 2e 0d 0a 0d 0a 20 20 20 |aracters|..... |
|000018a0| 20 20 42 49 54 20 69 73 | 20 63 6f 6d 70 61 74 69 | BIT is| compati|
|000018b0| 62 6c 65 20 77 69 74 68 | 20 61 6c 6c 20 63 75 72 |ble with| all cur|
|000018c0| 72 65 6e 74 20 76 65 72 | 73 69 6f 6e 73 20 6f 66 |rent ver|sions of|
|000018d0| 20 53 52 2d 49 6e 66 6f | 20 61 6e 64 20 56 50 2d | SR-Info| and VP-|
|000018e0| 49 6e 66 6f 2e 0d 0a 1a | 00 00 00 00 00 00 00 00 |Info....|........|
|000018f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001910| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001920| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001930| 20 20 20 20 42 49 54 2e | 50 52 47 0d 0a 0d 0a 20 | BIT.|PRG.... |
|00001940| 20 20 20 20 42 49 54 20 | 64 65 6d 6f 6e 73 74 72 | BIT |demonstr|
|00001950| 61 74 65 73 20 74 68 65 | 20 75 73 65 20 6f 66 20 |ates the| use of |
|00001960| 42 49 54 28 20 66 75 6e | 63 74 69 6f 6e 20 74 6f |BIT( fun|ction to|
|00001970| 20 67 65 6e 65 72 61 74 | 65 20 74 68 65 20 62 69 | generat|e the bi|
|00001980| 6e 61 72 79 20 63 6f 64 | 65 20 66 6f 72 20 63 68 |nary cod|e for ch|
|00001990| 61 72 61 63 74 65 72 73 | 2e 0d 0a 0d 0a 20 20 20 |aracters|..... |
|000019a0| 20 20 53 69 6e 63 65 20 | 77 65 20 77 61 6e 74 20 | Since |we want |
|000019b0| 74 6f 20 6f 75 74 70 75 | 74 20 6f 75 72 20 6f 6e |to outpu|t our on|
|000019c0| 65 73 20 61 6e 64 20 7a | 65 72 6f 73 20 61 64 6a |es and z|eros adj|
|000019d0| 61 63 65 6e 74 20 74 6f | 20 6f 6e 65 20 61 6e 6f |acent to| one ano|
|000019e0| 74 68 65 72 2c 20 65 76 | 65 6e 20 74 68 6f 75 67 |ther, ev|en thoug|
|000019f0| 68 20 77 65 27 72 65 20 | 70 72 69 6e 74 69 6e 67 |h we're |printing|
|00001a00| 20 74 68 65 6d 20 61 20 | 63 68 61 72 61 63 85 00 | them a |charac..|
|00001a10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001a20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001a30| 20 20 4c 41 42 5f 47 45 | 4e 2e 50 52 47 20 0d 0a | LAB_GE|N.PRG ..|
|00001a40| 0d 0a 20 20 20 20 20 4c | 41 42 5f 47 45 4e 20 69 |.. L|AB_GEN i|
|00001a50| 73 20 61 20 64 65 6d 6f | 6e 73 74 72 61 74 69 6f |s a demo|nstratio|
|00001a60| 6e 20 70 72 6f 67 72 61 | 6d 20 75 73 69 6e 67 20 |n progra|m using |
|00001a70| 6f 66 20 6d 61 63 72 6f | 73 2c 20 66 69 6c 65 73 |of macro|s, files|
|00001a80| 20 61 73 20 76 65 63 74 | 6f 72 73 2c 20 61 6e 64 | as vect|ors, and|
|00001a90| 20 67 65 6e 65 72 61 6c | 20 6d 61 74 72 69 63 65 | general| matrice|
|00001aa0| 73 2e 0d 0a 0d 0a 20 20 | 20 20 20 49 74 20 69 73 |s..... | It is|
|00001ab0| 20 61 20 67 65 6e 65 72 | 61 6c 2d 70 75 72 70 6f | a gener|al-purpo|
|00001ac0| 73 65 20 70 72 6f 67 72 | 61 6d 20 67 65 6e 65 72 |se progr|am gener|
|00001ad0| 61 74 6f 72 20 63 61 70 | 61 62 6c 65 20 6f 66 20 |ator cap|able of |
|00001ae0| 70 72 6f 64 75 63 69 6e | 67 20 6d 6f 73 74 20 66 |producin|g most f|
|00001af0| 6f 72 6d 73 20 6f 66 20 | 6c 61 62 65 6c 73 2c 20 |orms of |labels, |
|00001b00| 61 6e 79 20 6e 75 6d 62 | 65 72 20 6f 66 20 87 00 |any numb|er of ..|
|00001b10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001b20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001b30| 20 20 4c 41 42 5f 47 45 | 4e 2e 50 52 47 20 0d 0a | LAB_GE|N.PRG ..|
|00001b40| 0d 0a 20 20 20 20 20 4c | 41 42 5f 47 45 4e 20 69 |.. L|AB_GEN i|
|00001b50| 73 20 61 20 64 65 6d 6f | 6e 73 74 72 61 74 69 6f |s a demo|nstratio|
|00001b60| 6e 20 70 72 6f 67 72 61 | 6d 20 75 73 69 6e 67 20 |n progra|m using |
|00001b70| 6f 66 20 6d 61 63 72 6f | 73 2c 20 66 69 6c 65 73 |of macro|s, files|
|00001b80| 20 61 73 20 76 65 63 74 | 6f 72 73 2c 20 61 6e 64 | as vect|ors, and|
|00001b90| 20 67 65 6e 65 72 61 6c | 20 6d 61 74 72 69 63 65 | general| matrice|
|00001ba0| 73 2e 0d 0a 0d 0a 20 20 | 20 20 20 49 74 20 69 73 |s..... | It is|
|00001bb0| 20 61 20 67 65 6e 65 72 | 61 6c 2d 70 75 72 70 6f | a gener|al-purpo|
|00001bc0| 73 65 20 70 72 6f 67 72 | 61 6d 20 67 65 6e 65 72 |se progr|am gener|
|00001bd0| 61 74 6f 72 20 63 61 70 | 61 62 6c 65 20 6f 66 20 |ator cap|able of |
|00001be0| 70 72 6f 64 75 63 69 6e | 67 20 6d 6f 73 74 20 66 |producin|g most f|
|00001bf0| 6f 72 6d 73 20 6f 66 20 | 6c 61 62 65 6c 73 2c 20 |orms of |labels, |
|00001c00| 61 6e 79 20 6e 75 6d 62 | 65 72 20 6f 66 20 88 00 |any numb|er of ..|
|00001c10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c20| 20 20 20 20 20 31 2e 20 | 42 72 61 6e 63 68 20 31 | 1. |Branch 1|
|00001c30| 20 6f 66 20 73 61 6d 70 | 6c 65 20 70 72 6f 67 72 | of samp|le progr|
|00001c40| 61 6d 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |am.. | |
|00001c50| 20 20 20 20 20 20 20 20 | 20 20 20 20 32 2e 20 44 | | 2. D|
|00001c60| 6f 20 6e 6f 74 20 63 68 | 6f 6f 73 65 20 74 68 69 |o not ch|oose thi|
|00001c70| 73 20 6f 70 74 69 6f 6e | 0d 0a 20 20 20 20 20 20 |s option|.. |
|00001c80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c90| 20 20 33 2e 20 42 72 61 | 6e 63 68 20 33 20 2d 20 | 3. Bra|nch 3 - |
|00001ca0| 63 68 6f 6f 73 65 20 77 | 69 74 68 20 66 75 6e 63 |choose w|ith func|
|00001cb0| 74 69 6f 6e 20 6b 65 79 | 0d 0a 20 20 20 20 20 20 |tion key|.. |
|00001cc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001cd0| 20 20 34 2e 20 44 6f 20 | 6e 6f 74 20 63 68 6f 6f | 4. Do |not choo|
|00001ce0| 73 65 20 74 68 69 73 20 | 6f 70 74 69 6f 6e 0d 0a |se this |option..|
|00001cf0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d00| 20 20 20 20 20 20 20 20 | 35 2e 20 52 75 6e 1e 00 | |5. Run..|
|00001d10| 20 74 68 65 20 64 65 6d | 6f 20 70 72 6f 67 72 61 | the dem|o progra|
|00001d20| 6d 20 45 44 42 52 4f 57 | 0d 0a 20 20 20 20 20 20 |m EDBROW|.. |
|00001d30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d40| 20 20 36 2e 20 45 78 69 | 74 20 70 72 6f 67 72 61 | 6. Exi|t progra|
|00001d50| 6d 20 2d 20 62 75 74 20 | 73 74 61 79 20 69 6e 20 |m - but |stay in |
|00001d60| 49 6e 66 6f 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |Info.. | |
|00001d70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 37 2e | | 7.|
|00001d80| 20 52 65 74 75 72 6e 20 | 74 6f 20 74 68 65 20 4d | Return |to the M|
|00001d90| 61 69 6e 20 44 65 6d 6f | 6e 73 74 72 61 74 69 6f |ain Demo|nstratio|
|00001da0| 6e 20 4d 65 6e 75 0d 0a | 0d 0a 20 20 20 20 20 54 |n Menu..|.. T|
|00001db0| 68 65 20 72 65 73 75 6c | 74 73 20 6f 66 20 74 68 |he resul|ts of th|
|00001dc0| 65 73 65 20 63 68 6f 69 | 63 65 73 3a 0d 0a 0d 0a |ese choi|ces:....|
|00001dd0| 20 20 20 20 20 30 2e 20 | 2d 20 54 68 69 73 20 6f | 0. |- This o|
|00001de0| 70 74 69 6f 6e 20 63 61 | 6e 6e 6f 74 20 62 65 20 |ption ca|nnot be |
|00001df0| 68 69 67 68 6c 69 67 68 | 74 65 64 2c 20 62 75 74 |highligh|ted, but|
|00001e00| 20 63 61 6e 20 62 65 20 | 63 68 6f 73 65 6e 1f 00 | can be |chosen..|
|00001e10| 20 6f 6e 6c 79 20 62 79 | 20 70 72 65 73 73 69 6e | only by| pressin|
|00001e20| 67 20 74 68 65 20 7a 65 | 72 6f 20 6b 65 79 2e 20 |g the ze|ro key. |
|00001e30| 20 50 72 65 73 73 69 6e | 67 20 74 68 65 20 48 6f | Pressin|g the Ho|
|00001e40| 6d 65 20 6b 65 79 20 67 | 65 74 73 20 74 68 65 20 |me key g|ets the |
|00001e50| 73 61 6d 65 20 72 65 73 | 75 6c 74 20 69 6e 20 74 |same res|ult in t|
|00001e60| 68 69 73 20 70 72 6f 67 | 72 61 6d 20 6f 6e 6c 79 |his prog|ram only|
|00001e70| 2e 0d 0a 0d 0a 20 20 20 | 20 20 31 2e 20 61 6e 64 |..... | 1. and|
|00001e80| 20 33 2e 20 2d 20 53 68 | 6f 77 20 77 68 69 63 68 | 3. - Sh|ow which|
|00001e90| 20 6b 65 79 20 77 61 73 | 20 70 72 65 73 73 65 64 | key was| pressed|
|00001ea0| 2e 20 20 28 4f 70 74 69 | 6f 6e 20 33 20 63 61 6e |. (Opti|on 3 can|
|00001eb0| 20 62 65 20 73 65 6c 65 | 63 74 65 64 20 6f 6e 6c | be sele|cted onl|
|00001ec0| 79 20 62 79 20 70 72 65 | 73 73 69 6e 67 20 61 20 |y by pre|ssing a |
|00001ed0| 66 75 6e 63 74 69 6f 6e | 20 6b 65 79 20 77 68 69 |function| key whi|
|00001ee0| 6c 65 20 6c 69 6e 65 20 | 33 20 69 73 20 68 69 67 |le line |3 is hig|
|00001ef0| 68 6c 69 67 68 74 65 64 | 2e 29 0d 0a 0d 0a 20 20 |hlighted|.).... |
|00001f00| 20 20 20 32 2e 20 61 6e | 64 20 34 2e 20 2d 20 00 | 2. an|d 4. - .|
|00001f10| 20 44 69 73 70 6c 61 79 | 20 74 68 65 20 6d 65 73 | Display| the mes|
|00001f20| 73 61 67 65 20 22 49 4c | 4c 45 47 41 4c 20 43 48 |sage "IL|LEGAL CH|
|00001f30| 4f 49 43 45 21 21 21 20 | 50 72 65 73 73 20 61 6e |OICE!!! |Press an|
|00001f40| 79 20 6b 65 79 2e 22 0d | 0a 0d 0a 20 20 20 20 20 |y key.".|... |
|00001f50| 35 2e 20 2d 20 45 78 65 | 63 75 74 65 20 74 68 65 |5. - Exe|cute the|
|00001f60| 20 70 72 6f 67 72 61 6d | 20 45 44 42 52 4f 57 2e | program| EDBROW.|
|00001f70| 50 52 47 2e 0d 0a 20 20 | 20 20 20 2e 0d 0a 20 20 |PRG... | ... |
|00001f80| 20 20 20 2e 0d 0a 20 20 | 20 20 20 2e 0d 0a 1a 00 | ... | .....|
|00001f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 8d 00 |........|........|
|00002010| 20 77 69 64 74 68 20 28 | 57 29 20 6f 66 20 74 68 | width (|W) of th|
|00002020| 65 20 73 65 6c 65 63 74 | 69 6f 6e 20 62 61 72 2e |e select|ion bar.|
|00002030| 20 20 49 74 20 72 65 74 | 75 72 6e 73 20 65 69 74 | It ret|urns eit|
|00002040| 68 65 72 20 61 20 6e 75 | 6d 62 65 72 20 66 72 6f |her a nu|mber fro|
|00002050| 6d 20 30 20 74 68 72 6f | 75 67 68 20 39 20 28 6d |m 0 thro|ugh 9 (m|
|00002060| 61 78 69 6d 75 6d 20 4e | 29 20 69 66 20 61 20 73 |aximum N|) if a s|
|00002070| 69 6e 67 6c 65 20 64 69 | 67 69 74 20 69 73 20 70 |ingle di|git is p|
|00002080| 72 65 73 73 65 64 20 62 | 79 20 74 68 65 20 75 73 |ressed b|y the us|
|00002090| 65 72 2c 20 6f 72 20 61 | 20 6e 75 6d 62 65 72 20 |er, or a| number |
|000020a0| 66 72 6f 6d 20 31 20 74 | 68 72 6f 75 67 68 20 4e |from 1 t|hrough N|
|000020b0| 20 69 66 20 74 68 65 20 | 75 73 65 72 20 68 69 67 | if the |user hig|
|000020c0| 68 6c 69 67 68 74 73 20 | 61 6e 20 6f 70 74 69 6f |hlights |an optio|
|000020d0| 6e 20 61 6e 64 20 70 72 | 65 73 73 65 73 20 45 4e |n and pr|esses EN|
|000020e0| 54 45 52 20 6f 72 20 61 | 6e 6f 74 68 65 72 20 63 |TER or a|nother c|
|000020f0| 75 72 73 6f 72 20 6f 72 | 20 66 75 6e 63 74 69 6f |ursor or| functio|
|00002100| 6e 20 6b 65 79 2e 0d 0a | 0d 0a 20 20 20 20 22 00 |n key...|.. ".|
|00002110| 4d 65 6e 75 73 20 61 72 | 65 20 6e 6f 72 6d 61 6c |Menus ar|e normal|
|00002120| 6c 79 20 63 72 65 61 74 | 65 64 20 62 79 20 70 6f |ly creat|ed by po|
|00002130| 73 69 74 69 6f 6e 69 6e | 67 20 74 65 78 74 20 6f |sitionin|g text o|
|00002140| 6e 20 74 68 65 20 73 63 | 72 65 65 6e 20 77 69 74 |n the sc|reen wit|
|00002150| 68 20 54 45 58 54 2c 20 | 73 65 74 74 69 6e 67 20 |h TEXT, |setting |
|00002160| 74 68 65 20 63 75 72 73 | 6f 72 20 70 6f 73 69 74 |the curs|or posit|
|00002170| 69 6f 6e 20 61 74 20 74 | 68 65 20 62 65 67 69 6e |ion at t|he begin|
|00002180| 6e 69 6e 67 20 6f 66 20 | 74 68 65 20 31 2e 20 6c |ning of |the 1. l|
|00002190| 69 6e 65 2c 20 61 6e 64 | 20 74 68 65 6e 20 67 65 |ine, and| then ge|
|000021a0| 74 74 69 6e 67 20 61 20 | 76 61 6c 75 65 20 6f 66 |tting a |value of|
|000021b0| 20 61 20 76 61 72 69 61 | 62 6c 65 20 66 72 6f 6d | a varia|ble from|
|000021c0| 20 74 68 65 20 4d 45 4e | 55 28 20 66 75 6e 63 74 | the MEN|U( funct|
|000021d0| 69 6f 6e 2e 20 20 46 6f | 72 20 65 78 61 6d 70 6c |ion. Fo|r exampl|
|000021e0| 65 3a 0d 0a 0d 0a 20 20 | 20 45 52 41 53 45 20 20 |e:.... | ERASE |
|000021f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002200| 20 20 20 20 3b 66 69 6c | 6c 73 20 77 69 6e 23 00 | ;fil|ls win#.|
|00002210| 64 6f 77 20 77 69 74 68 | 20 62 6c 61 6e 6b 73 0d |dow with| blanks.|
|00002220| 0a 20 20 20 54 45 58 54 | 0d 0a 0d 0a 20 20 20 20 |. TEXT|.... |
|00002230| 20 20 20 20 20 20 20 20 | 20 44 45 4d 4f 20 4d 41 | | DEMO MA|
|00002240| 49 4e 20 4d 45 4e 55 0d | 0a 0d 0a 20 20 20 20 30 |IN MENU.|... 0|
|00002250| 2e 20 45 78 69 74 20 49 | 6e 66 6f 20 61 6e 64 20 |. Exit I|nfo and |
|00002260| 72 65 74 75 72 6e 20 74 | 6f 20 44 4f 53 0d 0a 0d |return t|o DOS...|
|00002270| 0a 20 20 20 20 31 2e 20 | 42 72 61 6e 63 68 20 31 |. 1. |Branch 1|
|00002280| 20 6f 66 20 73 61 6d 70 | 6c 65 20 70 72 6f 67 72 | of samp|le progr|
|00002290| 61 6d 0d 0a 20 20 20 20 | 32 2e 20 44 6f 20 6e 6f |am.. |2. Do no|
|000022a0| 74 20 63 68 6f 6f 73 65 | 20 74 68 69 73 20 6f 70 |t choose| this op|
|000022b0| 74 69 6f 6e 0d 0a 20 20 | 20 20 33 2e 20 42 72 61 |tion.. | 3. Bra|
|000022c0| 6e 63 68 20 33 20 2d 20 | 63 68 6f 6f 73 65 20 77 |nch 3 - |choose w|
|000022d0| 69 74 68 20 66 75 6e 63 | 74 69 6f 6e 20 6b 65 79 |ith func|tion key|
|000022e0| 0d 0a 20 20 20 20 34 2e | 20 44 6f 20 6e 6f 74 20 |.. 4.| Do not |
|000022f0| 63 68 6f 6f 73 65 20 74 | 68 69 73 20 6f 70 74 69 |choose t|his opti|
|00002300| 6f 6e 0d 0a 20 20 20 20 | 35 2e 20 52 75 6e 24 00 |on.. |5. Run$.|
|00002310| 20 74 68 65 20 64 65 6d | 6f 20 70 72 6f 67 72 61 | the dem|o progra|
|00002320| 6d 20 45 44 42 52 4f 57 | 0d 0a 20 20 20 20 36 2e |m EDBROW|.. 6.|
|00002330| 20 45 78 69 74 20 70 72 | 6f 67 72 61 6d 20 2d 20 | Exit pr|ogram - |
|00002340| 73 74 61 79 20 69 6e 20 | 49 6e 66 6f 0d 0a 20 20 |stay in |Info.. |
|00002350| 20 20 37 2e 20 52 65 74 | 75 72 6e 20 74 6f 20 74 | 7. Ret|urn to t|
|00002360| 68 65 20 4d 61 69 6e 20 | 44 65 6d 6f 6e 73 74 72 |he Main |Demonstr|
|00002370| 61 74 69 6f 6e 20 4d 65 | 6e 75 0d 0a 0d 0a 20 20 |ation Me|nu.... |
|00002380| 20 45 4e 44 54 45 58 54 | 0d 0a 20 20 20 43 55 52 | ENDTEXT|.. CUR|
|00002390| 53 4f 52 20 31 32 2c 32 | 35 20 3b 20 70 6f 73 69 |SOR 12,2|5 ; posi|
|000023a0| 74 69 6f 6e 73 20 6d 65 | 6e 75 20 63 75 72 73 6f |tions me|nu curso|
|000023b0| 72 20 6f 76 65 72 20 31 | 73 74 20 63 68 61 72 61 |r over 1|st chara|
|000023c0| 63 74 65 72 20 6f 66 20 | 31 73 74 20 63 68 6f 69 |cter of |1st choi|
|000023d0| 63 65 0d 0a 20 20 20 73 | 65 6c 65 63 74 69 6f 6e |ce.. s|election|
|000023e0| 3d 6d 65 6e 75 28 37 2c | 33 37 29 20 20 20 20 20 |=menu(7,|37) |
|000023f0| 20 3b 73 65 76 65 6e 20 | 63 68 6f 69 63 65 73 20 | ;seven |choices |
|00002400| 6d 65 6e 75 20 62 61 72 | 20 77 69 64 74 68 25 00 |menu bar| width%.|
|00002410| 20 33 37 0d 0a 0d 0a 20 | 20 20 20 20 49 6e 20 74 | 37.... | In t|
|00002420| 68 69 73 20 63 61 73 65 | 20 61 20 6e 75 6d 62 65 |his case| a numbe|
|00002430| 72 20 6f 66 20 61 64 64 | 69 74 69 6f 6e 61 6c 20 |r of add|itional |
|00002440| 66 65 61 74 75 72 65 73 | 20 61 72 65 20 64 65 6d |features| are dem|
|00002450| 6f 6e 73 74 72 61 74 65 | 64 20 66 6f 72 20 6d 6f |onstrate|d for mo|
|00002460| 72 65 20 61 64 76 61 6e | 63 65 64 20 70 72 6f 67 |re advan|ced prog|
|00002470| 72 61 6d 6d 65 72 73 2e | 20 20 54 68 65 73 65 20 |rammers.| These |
|00002480| 66 65 61 74 75 72 65 73 | 20 75 73 65 20 61 20 73 |features| use a s|
|00002490| 70 65 63 69 61 6c 20 74 | 65 63 68 6e 69 71 75 65 |pecial t|echnique|
|000024a0| 20 74 6f 20 63 61 70 74 | 75 72 65 20 61 6e 64 20 | to capt|ure and |
|000024b0| 75 73 65 20 74 68 65 20 | 6b 65 79 20 6e 75 6d 62 |use the |key numb|
|000024c0| 65 72 73 20 70 72 65 73 | 73 65 64 20 74 6f 20 65 |ers pres|sed to e|
|000024d0| 78 69 74 20 74 68 65 20 | 4d 45 4e 55 28 20 66 75 |xit the |MENU( fu|
|000024e0| 6e 63 74 69 6f 6e 2e 20 | 20 46 6f 72 20 65 78 61 |nction. | For exa|
|000024f0| 6d 70 6c 65 2c 20 74 68 | 65 20 46 31 20 6b 65 79 |mple, th|e F1 key|
|00002500| 20 69 73 20 6e 75 6d 62 | 65 72 65 64 20 33 26 00 | is numb|ered 3&.|
|00002510| 31 35 20 77 68 69 6c 65 | 20 74 68 65 20 48 6f 6d |15 while| the Hom|
|00002520| 65 20 6b 65 79 20 69 73 | 20 6e 75 6d 62 65 72 65 |e key is| numbere|
|00002530| 64 20 33 32 37 20 28 74 | 68 65 20 66 75 6c 6c 20 |d 327 (t|he full |
|00002540| 6c 69 73 74 69 6e 67 20 | 69 73 20 75 6e 64 65 72 |listing |is under|
|00002550| 20 74 68 65 20 49 4e 4b | 45 59 28 20 66 75 6e 63 | the INK|EY( func|
|00002560| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 49 6e 66 6f |tion of |the Info|
|00002570| 20 6d 61 6e 75 61 6c 29 | 3b 20 62 79 20 63 68 65 | manual)|; by che|
|00002580| 63 6b 69 6e 67 20 74 68 | 69 73 20 76 61 6c 75 65 |cking th|is value|
|00002590| 2c 20 74 68 65 20 70 72 | 6f 67 72 61 6d 20 77 6f |, the pr|ogram wo|
|000025a0| 75 6c 64 20 6b 6e 6f 77 | 20 77 68 65 74 68 65 72 |uld know| whether|
|000025b0| 20 74 6f 20 61 63 74 69 | 76 61 74 65 20 73 6f 6d | to acti|vate som|
|000025c0| 65 20 73 70 65 63 69 61 | 6c 20 6d 6f 64 75 6c 65 |e specia|l module|
|000025d0| 2e 0d 0a 0d 0a 20 20 20 | 20 20 49 6e 20 74 68 69 |..... | In thi|
|000025e0| 73 20 70 72 6f 67 72 61 | 6d 2c 20 74 68 65 20 6b |s progra|m, the k|
|000025f0| 65 79 20 6e 75 6d 62 65 | 72 73 20 63 61 70 74 75 |ey numbe|rs captu|
|00002600| 72 65 64 20 61 72 65 20 | 64 69 73 70 6c 61 27 00 |red are |displa'.|
|00002610| 79 65 64 20 6f 6e 20 74 | 68 65 20 62 6f 74 74 6f |yed on t|he botto|
|00002620| 6d 20 6c 69 6e 65 20 6f | 66 20 74 68 65 20 6d 65 |m line o|f the me|
|00002630| 6e 75 2e 0d 0a 0d 0a 20 | 20 20 20 20 4d 45 4e 55 |nu..... | MENU|
|00002640| 2e 50 52 47 20 69 73 20 | 65 6e 68 61 6e 63 65 64 |.PRG is |enhanced|
|00002650| 20 77 69 74 68 20 61 20 | 6e 75 6d 62 65 72 20 6f | with a |number o|
|00002660| 66 20 73 70 65 63 69 61 | 6c 20 64 69 73 70 6c 61 |f specia|l displa|
|00002670| 79 20 66 65 61 74 75 72 | 65 73 3a 0d 0a 0d 0a 20 |y featur|es:.... |
|00002680| 20 20 31 2e 20 20 43 4f | 4c 4f 52 20 3a 63 6f 6c | 1. CO|LOR :col|
|00002690| 6f 72 2c 30 2c 30 2c 32 | 34 2c 37 39 2c 31 37 37 |or,0,0,2|4,79,177|
|000026a0| 20 3b 66 69 6c 6c 20 73 | 63 72 65 65 6e 20 77 69 | ;fill s|creen wi|
|000026b0| 74 68 20 70 61 74 74 65 | 72 6e 20 6f 66 20 63 68 |th patte|rn of ch|
|000026c0| 61 72 61 63 74 65 72 20 | 31 37 37 0d 0a 20 20 20 |aracter |177.. |
|000026d0| 32 2e 20 20 43 4f 4c 4f | 52 20 31 31 32 2c 37 2c |2. COLO|R 112,7,|
|000026e0| 32 30 2c 32 31 2c 36 36 | 20 20 20 20 20 20 20 3b |20,21,66| ;|
|000026f0| 64 72 61 77 20 62 6c 61 | 63 6b 20 62 6f 78 20 74 |draw bla|ck box t|
|00002700| 6f 20 62 65 63 6f 6d 65 | 20 73 68 61 64 6f 28 00 |o become| shado(.|
|00002710| 77 0d 0a 20 20 20 33 2e | 20 20 57 49 4e 44 4f 57 |w.. 3.| WINDOW|
|00002720| 20 36 2c 31 38 2c 31 39 | 2c 36 32 20 44 4f 55 42 | 6,18,19|,62 DOUB|
|00002730| 4c 45 20 43 4f 4c 4f 52 | 20 3a 63 6f 6c 6f 72 20 |LE COLOR| :color |
|00002740| 20 3b 64 65 63 6c 61 72 | 65 20 73 70 61 63 65 20 | ;declar|e space |
|00002750| 66 6f 72 20 6d 65 6e 75 | 20 74 65 78 74 0d 0a 0d |for menu| text...|
|00002760| 0a 20 20 20 20 20 54 68 | 65 20 72 65 66 65 72 65 |. Th|e refere|
|00002770| 6e 63 65 73 20 74 6f 20 | 3a 43 4f 4c 4f 52 20 6d |nces to |:COLOR m|
|00002780| 65 61 6e 20 74 6f 20 75 | 73 65 20 74 68 65 20 63 |ean to u|se the c|
|00002790| 6f 6c 6f 72 20 73 65 74 | 20 77 69 74 68 20 74 68 |olor set| with th|
|000027a0| 65 20 53 45 54 20 43 4f | 4c 4f 52 20 54 4f 20 63 |e SET CO|LOR TO c|
|000027b0| 6f 6d 6d 61 6e 64 20 28 | 6f 72 20 6c 65 66 74 20 |ommand (|or left |
|000027c0| 61 74 20 74 68 65 20 64 | 65 66 61 75 6c 74 20 73 |at the d|efault s|
|000027d0| 65 74 20 64 75 72 69 6e | 67 20 6c 6f 61 64 69 6e |et durin|g loadin|
|000027e0| 67 29 2e 20 20 49 6e 20 | 74 68 69 73 20 70 72 6f |g). In |this pro|
|000027f0| 67 72 61 6d 2c 20 0d 0a | 20 20 20 20 20 20 20 20 |gram, ..| |
|00002800| 20 20 49 46 20 3a 63 6f | 6c 6f 72 20 3c 3e 29 00 | IF :co|lor <>).|
|00002810| 20 37 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | 7.. | |
|00002820| 20 53 45 54 20 63 6f 6c | 6f 72 20 74 6f 20 33 31 | SET col|or to 31|
|00002830| 3b 20 77 68 69 74 65 20 | 6f 6e 20 62 6c 75 65 0d |; white |on blue.|
|00002840| 0a 20 20 20 20 20 20 20 | 20 20 20 45 4e 44 49 46 |. | ENDIF|
|00002850| 0d 0a 65 73 74 61 62 6c | 69 73 68 65 73 20 77 68 |..establ|ishes wh|
|00002860| 69 74 65 20 6f 6e 20 62 | 6c 75 65 20 69 66 20 74 |ite on b|lue if t|
|00002870| 68 65 20 63 6f 6c 6f 72 | 20 69 73 20 6e 6f 74 20 |he color| is not |
|00002880| 61 6c 72 65 61 64 79 20 | 73 65 74 20 74 6f 20 37 |already |set to 7|
|00002890| 20 28 77 68 69 74 65 20 | 6f 6e 20 62 6c 61 63 6b | (white |on black|
|000028a0| 2c 20 74 68 65 20 64 65 | 66 61 75 6c 74 20 6d 6f |, the de|fault mo|
|000028b0| 6e 6f 63 68 72 6f 6d 65 | 2d 73 63 72 65 65 6e 20 |nochrome|-screen |
|000028c0| 73 65 74 74 69 6e 67 29 | 2e 0d 0a 1a 00 00 00 00 |setting)|........|
|000028d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002910| 73 65 64 20 74 6f 20 62 | 65 63 6f 6d 65 20 66 61 |sed to b|ecome fa|
|00002920| 6d 69 6c 69 61 72 20 77 | 69 74 68 20 74 68 65 73 |miliar w|ith thes|
|00002930| 65 20 74 77 6f 20 63 6f | 6d 6d 61 6e 64 73 20 69 |e two co|mmands i|
|00002940| 6e 20 74 68 65 20 43 6f | 6e 76 65 72 73 61 74 69 |n the Co|nversati|
|00002950| 6f 6e 61 6c 20 6d 6f 64 | 65 2c 20 77 6f 72 6b 69 |onal mod|e, worki|
|00002960| 6e 67 20 66 72 6f 6d 20 | 74 68 65 20 31 3e 20 70 |ng from |the 1> p|
|00002970| 72 6f 6d 70 74 2c 20 61 | 73 20 64 69 73 63 75 73 |rompt, a|s discus|
|00002980| 73 65 64 20 69 6e 20 46 | 41 53 54 41 52 54 2e 44 |sed in F|ASTART.D|
|00002990| 4f 43 20 61 6e 64 20 50 | 41 52 54 20 49 49 2c 20 |OC and P|ART II, |
|000029a0| 53 45 43 54 49 4f 4e 20 | 32 20 6f 66 20 74 68 65 |SECTION |2 of the|
|000029b0| 20 70 72 69 6e 74 65 64 | 20 49 6e 66 6f 20 6d 61 | printed| Info ma|
|000029c0| 6e 75 61 6c 2e 0d 0a 0d | 0a 20 20 20 20 20 54 68 |nual....|. Th|
|000029d0| 69 73 20 70 72 6f 67 72 | 61 6d 20 75 73 65 73 20 |is progr|am uses |
|000029e0| 61 20 73 70 65 63 69 61 | 6c 20 74 65 63 68 6e 69 |a specia|l techni|
|000029f0| 71 75 65 20 74 6f 20 63 | 61 70 74 75 72 65 20 61 |que to c|apture a|
|00002a00| 6e 64 20 75 73 65 20 74 | 68 65 20 46 31 20 2b 00 |nd use t|he F1 +.|
|00002a10| 6b 65 79 20 74 6f 20 61 | 63 74 69 76 61 74 65 20 |key to a|ctivate |
|00002a20| 74 68 65 20 73 77 69 74 | 63 68 20 66 72 6f 6d 20 |the swit|ch from |
|00002a30| 45 44 49 54 20 74 6f 20 | 42 52 4f 57 53 45 20 61 |EDIT to |BROWSE a|
|00002a40| 6e 64 20 62 61 63 6b 20 | 61 67 61 69 6e 2e 20 20 |nd back |again. |
|00002a50| 54 68 65 20 46 31 20 6b | 65 79 20 69 73 20 6e 75 |The F1 k|ey is nu|
|00002a60| 6d 62 65 72 65 64 20 33 | 31 35 20 28 74 68 65 20 |mbered 3|15 (the |
|00002a70| 66 75 6c 6c 20 6c 69 73 | 74 69 6e 67 20 69 73 20 |full lis|ting is |
|00002a80| 75 6e 64 65 72 20 74 68 | 65 20 49 4e 4b 45 59 28 |under th|e INKEY(|
|00002a90| 20 66 75 6e 63 74 69 6f | 6e 20 6f 66 20 74 68 65 | functio|n of the|
|00002aa0| 20 49 6e 66 6f 20 6d 61 | 6e 75 61 6c 29 3b 20 62 | Info ma|nual); b|
|00002ab0| 79 20 63 68 65 63 6b 69 | 6e 67 20 69 66 20 3b 4b |y checki|ng if ;K|
|00002ac0| 45 59 20 69 73 20 33 31 | 35 20 61 66 74 65 72 20 |EY is 31|5 after |
|00002ad0| 65 78 69 74 69 6e 67 20 | 45 44 49 54 20 6f 72 20 |exiting |EDIT or |
|00002ae0| 42 52 4f 57 53 45 20 74 | 68 65 20 70 72 6f 67 72 |BROWSE t|he progr|
|00002af0| 61 6d 20 6b 6e 6f 77 73 | 20 77 68 65 74 68 65 72 |am knows| whether|
|00002b00| 20 74 6f 20 6a 75 6d 70 | 20 69 6e 74 6f 20 2c 00 | to jump| into ,.|
|00002b10| 74 68 65 20 6f 74 68 65 | 72 20 63 6f 6d 6d 61 6e |the othe|r comman|
|00002b20| 64 2e 0d 0a 1a 00 00 00 | 00 00 00 00 00 00 00 00 |d.......|........|
|00002b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c10| 75 73 65 73 20 61 6e 20 | 65 78 69 74 20 74 6f 20 |uses an |exit to |
|00002c20| 49 6e 66 6f 20 6f 72 20 | 44 4f 53 2e 0d 0a 20 20 |Info or |DOS... |
|00002c30| 20 20 20 33 2e 20 20 41 | 20 6d 65 63 68 61 6e 69 | 3. A| mechani|
|00002c40| 73 6d 20 74 6f 20 61 6c | 6c 6f 77 20 74 68 65 20 |sm to al|low the |
|00002c50| 70 72 6f 67 72 61 6d 20 | 74 6f 20 64 65 74 65 72 |program |to deter|
|00002c60| 6d 69 6e 65 20 77 68 61 | 74 20 74 68 65 20 75 73 |mine wha|t the us|
|00002c70| 65 72 20 77 61 6e 74 73 | 20 64 6f 6e 65 3b 20 69 |er wants| done; i|
|00002c80| 6e 20 74 68 69 73 20 63 | 61 73 65 2c 20 61 20 4d |n this c|ase, a M|
|00002c90| 45 4e 55 28 20 66 75 6e | 63 74 69 6f 6e 20 67 65 |ENU( fun|ction ge|
|00002ca0| 74 73 20 74 68 69 73 20 | 69 6e 70 75 74 0d 0a 20 |ts this |input.. |
|00002cb0| 20 20 20 20 34 2e 20 20 | 44 65 70 65 6e 64 69 6e | 4. |Dependin|
|00002cc0| 67 20 6f 6e 20 74 68 65 | 20 76 61 6c 75 65 20 6f |g on the| value o|
|00002cd0| 66 20 74 68 65 20 76 61 | 72 69 61 62 6c 65 20 53 |f the va|riable S|
|00002ce0| 45 4c 45 43 54 49 4f 4e | 20 61 73 20 73 65 74 20 |ELECTION| as set |
|00002cf0| 62 79 20 4d 45 4e 55 28 | 2c 20 61 20 44 4f 20 43 |by MENU(|, a DO C|
|00002d00| 41 53 45 20 73 74 72 75 | 63 74 75 72 65 20 2e 00 |ASE stru|cture ..|
|00002d10| 65 69 74 68 65 72 20 65 | 78 69 74 73 20 6f 72 20 |either e|xits or |
|00002d20| 65 78 65 63 75 74 65 73 | 20 6f 6e 65 20 6f 66 20 |executes| one of |
|00002d30| 61 20 76 61 72 69 65 74 | 79 20 6f 66 20 70 72 6f |a variet|y of pro|
|00002d40| 67 72 61 6d 20 6d 6f 64 | 75 6c 65 73 3a 0d 0a 20 |gram mod|ules:.. |
|00002d50| 20 20 20 20 20 20 20 20 | 20 20 20 44 4f 20 43 41 | | DO CA|
|00002d60| 53 45 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |SE.. | |
|00002d70| 43 41 53 45 20 73 65 6c | 65 63 74 69 6f 6e 3d 30 |CASE sel|ection=0|
|00002d80| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00002d90| 20 51 55 49 54 20 20 20 | 20 20 20 20 20 20 20 20 | QUIT | |
|00002da0| 20 20 20 20 20 3b 72 65 | 74 75 72 6e 20 74 6f 20 | ;re|turn to |
|00002db0| 44 4f 53 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |DOS.. | |
|00002dc0| 20 43 41 53 45 20 73 65 | 6c 65 63 74 69 6f 6e 3d | CASE se|lection=|
|00002dd0| 31 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |1.. | |
|00002de0| 20 20 50 45 52 46 4f 52 | 4d 20 73 74 61 72 74 5f | PERFOR|M start_|
|00002df0| 72 65 63 20 20 20 3b 75 | 73 65 20 61 20 70 72 6f |rec ;u|se a pro|
|00002e00| 63 65 64 75 72 65 20 74 | 6f 20 67 65 74 20 2f 00 |cedure t|o get /.|
|00002e10| 61 20 72 65 63 6f 72 64 | 20 6e 75 6d 62 65 72 0d |a record| number.|
|00002e20| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 43 41 53 |. | CAS|
|00002e30| 45 20 73 65 6c 65 63 74 | 69 6f 6e 3d 32 0d 0a 20 |E select|ion=2.. |
|00002e40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 6d 6f | | mo|
|00002e50| 64 65 3d 27 42 27 20 20 | 20 20 20 20 20 20 20 20 |de='B' | |
|00002e60| 20 20 3b 63 61 75 73 65 | 73 20 70 72 6f 67 72 61 | ;cause|s progra|
|00002e70| 6d 20 74 6f 20 42 52 4f | 57 53 45 0d 0a 20 20 20 |m to BRO|WSE.. |
|00002e80| 20 20 20 20 20 20 20 20 | 20 43 41 53 45 20 73 65 | | CASE se|
|00002e90| 6c 65 63 74 69 6f 6e 3d | 33 0d 0a 20 20 20 20 20 |lection=|3.. |
|00002ea0| 20 20 20 20 20 20 20 20 | 20 20 6d 6f 64 65 3d 27 | | mode='|
|00002eb0| 45 27 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 63 |E' | ;c|
|00002ec0| 61 75 73 65 73 20 70 72 | 6f 67 72 61 6d 20 74 6f |auses pr|ogram to|
|00002ed0| 20 45 44 49 54 0d 0a 20 | 20 20 20 20 20 20 20 20 | EDIT.. | |
|00002ee0| 20 20 20 43 41 53 45 20 | 73 65 6c 65 63 74 69 6f | CASE |selectio|
|00002ef0| 6e 3d 34 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |n=4.. | |
|00002f00| 20 20 20 20 50 45 52 46 | 4f 52 4d 20 74 65 30 00 | PERF|ORM te0.|
|00002f10| 6c 6c 5f 61 62 6f 75 74 | 20 20 3b 64 69 73 70 6c |ll_about| ;displ|
|00002f20| 61 79 73 20 61 20 73 63 | 72 65 65 6e 20 61 62 6f |ays a sc|reen abo|
|00002f30| 75 74 20 74 68 69 73 20 | 70 72 6f 67 72 61 6d 0d |ut this |program.|
|00002f40| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 43 41 53 |. | CAS|
|00002f50| 45 20 73 65 6c 65 63 74 | 69 6f 6e 3d 36 0d 0a 20 |E select|ion=6.. |
|00002f60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 43 48 | | CH|
|00002f70| 41 49 4e 20 64 65 6d 6f | 73 20 20 20 20 20 20 20 |AIN demo|s |
|00002f80| 20 20 3b 72 65 74 75 72 | 6e 73 20 74 6f 20 44 45 | ;retur|ns to DE|
|00002f90| 4d 4f 53 2e 50 52 47 0d | 0a 20 20 20 20 20 20 20 |MOS.PRG.|. |
|00002fa0| 20 20 20 20 20 43 41 53 | 45 20 73 65 6c 65 63 74 | CAS|E select|
|00002fb0| 69 6f 6e 3d 35 0d 0a 20 | 20 20 20 20 20 20 20 20 |ion=5.. | |
|00002fc0| 20 20 20 20 20 20 57 49 | 4e 44 4f 57 20 20 20 20 | WI|NDOW |
|00002fd0| 20 20 20 20 20 20 20 20 | 20 20 3b 72 65 73 74 6f | | ;resto|
|00002fe0| 72 65 73 20 77 69 6e 64 | 6f 77 20 74 6f 20 66 75 |res wind|ow to fu|
|00002ff0| 6c 6c 20 73 63 72 65 65 | 6e 0d 0a 20 20 20 20 20 |ll scree|n.. |
|00003000| 20 20 20 20 20 20 20 20 | 20 20 53 45 54 20 31 00 | | SET 1.|
|00003010| 66 75 6e 63 74 69 6f 6e | 20 6f 6e 20 20 20 20 20 |function| on |
|00003020| 3b 72 65 61 63 74 69 76 | 61 74 65 73 20 66 75 6e |;reactiv|ates fun|
|00003030| 63 74 69 6f 6e 2d 6b 65 | 79 20 63 6f 6e 74 65 6e |ction-ke|y conten|
|00003040| 74 73 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |ts.. | |
|00003050| 20 20 20 43 55 52 53 4f | 52 20 30 2c 30 20 20 20 | CURSO|R 0,0 |
|00003060| 20 20 20 20 20 20 20 3b | 63 75 72 73 6f 72 20 74 | ;|cursor t|
|00003070| 6f 20 74 6f 70 20 6c 65 | 66 74 0d 0a 20 20 20 20 |o top le|ft.. |
|00003080| 20 20 20 20 20 20 20 20 | 20 20 20 43 41 4e 43 45 | | CANCE|
|00003090| 4c 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3b |L | ;|
|000030a0| 65 78 69 74 20 74 6f 20 | 49 6e 66 6f 27 73 20 31 |exit to |Info's 1|
|000030b0| 3e 20 70 72 6f 6d 70 74 | 0d 0a 20 20 20 20 20 20 |> prompt|.. |
|000030c0| 20 20 20 20 20 20 45 4e | 44 43 41 53 45 0d 0a 0d | EN|DCASE...|
|000030d0| 0a 20 20 20 20 20 54 68 | 69 73 20 70 72 6f 67 72 |. Th|is progr|
|000030e0| 61 6d 20 75 73 65 73 20 | 61 20 73 70 65 63 69 61 |am uses |a specia|
|000030f0| 6c 20 74 65 63 68 6e 69 | 71 75 65 20 74 6f 20 63 |l techni|que to c|
|00003100| 61 70 74 75 72 65 20 61 | 6e 64 20 75 73 65 32 00 |apture a|nd use2.|
|00003110| 20 74 68 65 20 46 31 20 | 6b 65 79 20 74 6f 20 61 | the F1 |key to a|
|00003120| 63 74 69 76 61 74 65 20 | 74 68 65 20 73 77 69 74 |ctivate |the swit|
|00003130| 63 68 20 66 72 6f 6d 20 | 45 44 49 54 20 74 6f 20 |ch from |EDIT to |
|00003140| 42 52 4f 57 53 45 20 61 | 6e 64 20 62 61 63 6b 20 |BROWSE a|nd back |
|00003150| 61 67 61 69 6e 2e 20 20 | 54 68 65 20 46 31 20 6b |again. |The F1 k|
|00003160| 65 79 20 69 73 20 6e 75 | 6d 62 65 72 65 64 20 33 |ey is nu|mbered 3|
|00003170| 31 35 20 28 74 68 65 20 | 66 75 6c 6c 20 6c 69 73 |15 (the |full lis|
|00003180| 74 69 6e 67 20 69 73 20 | 75 6e 64 65 72 20 74 68 |ting is |under th|
|00003190| 65 20 49 4e 4b 45 59 28 | 20 66 75 6e 63 74 69 6f |e INKEY(| functio|
|000031a0| 6e 20 6f 66 20 74 68 65 | 20 49 6e 66 6f 20 6d 61 |n of the| Info ma|
|000031b0| 6e 75 61 6c 29 3b 20 62 | 79 20 63 68 65 63 6b 69 |nual); b|y checki|
|000031c0| 6e 67 20 69 66 20 3b 4b | 45 59 20 69 73 20 33 31 |ng if ;K|EY is 31|
|000031d0| 35 20 61 66 74 65 72 20 | 65 78 69 74 69 6e 67 20 |5 after |exiting |
|000031e0| 45 44 49 54 20 6f 72 20 | 42 52 4f 57 53 45 20 74 |EDIT or |BROWSE t|
|000031f0| 68 65 20 70 72 6f 67 72 | 61 6d 20 6b 6e 6f 77 73 |he progr|am knows|
|00003200| 20 77 68 65 74 68 65 72 | 20 74 6f 20 6a 75 33 00 | whether| to ju3.|
|00003210| 6d 70 20 69 6e 74 6f 20 | 74 68 65 20 6f 74 68 65 |mp into |the othe|
|00003220| 72 20 63 6f 6d 6d 61 6e | 64 20 61 73 20 66 6f 6c |r comman|d as fol|
|00003230| 6c 6f 77 73 3a 0d 0a 0d | 0a 20 20 20 20 20 20 20 |lows:...|. |
|00003240| 20 20 20 20 20 57 49 4e | 44 4f 57 20 32 2c 32 30 | WIN|DOW 2,20|
|00003250| 20 20 20 20 3b 72 65 73 | 74 72 69 63 74 20 74 6f | ;res|trict to|
|00003260| 20 72 6f 77 73 20 32 20 | 74 68 72 6f 75 67 68 20 | rows 2 |through |
|00003270| 32 30 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |20.. | |
|00003280| 40 20 32 32 2c 35 20 73 | 61 79 20 22 20 50 52 45 |@ 22,5 s|ay " PRE|
|00003290| 53 53 20 46 31 20 74 6f | 20 74 6f 67 67 6c 65 20 |SS F1 to| toggle |
|000032a0| 62 65 74 77 65 65 6e 20 | 42 52 4f 57 53 45 20 61 |between |BROWSE a|
|000032b0| 6e 64 20 45 44 49 54 20 | 22 0d 0a 20 20 20 20 20 |nd EDIT |".. |
|000032c0| 20 20 20 20 20 20 20 40 | 20 32 33 2c 35 20 73 61 | @| 23,5 sa|
|000032d0| 79 20 22 20 20 20 20 50 | 52 45 53 53 20 45 4e 44 |y " P|RESS END|
|000032e0| 20 74 6f 20 72 65 74 75 | 72 6e 20 74 6f 20 74 68 | to retu|rn to th|
|000032f0| 65 20 6d 61 69 6e 20 6d | 65 6e 75 2e 20 20 20 22 |e main m|enu. "|
|00003300| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 34 00 |.. | 4.|
|00003310| 44 4f 20 57 48 49 4c 45 | 20 6d 6f 64 65 20 3c 3e |DO WHILE| mode <>|
|00003320| 20 27 51 27 0d 0a 20 20 | 20 20 20 20 20 20 20 20 | 'Q'.. | |
|00003330| 20 20 20 20 20 49 46 20 | 6d 6f 64 65 3d 27 45 27 | IF |mode='E'|
|00003340| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00003350| 20 20 20 20 45 44 49 54 | 0d 0a 20 20 20 20 20 20 | EDIT|.. |
|00003360| 20 20 20 20 20 20 20 20 | 20 20 20 20 49 46 20 3a | | IF :|
|00003370| 6b 65 79 3d 33 31 35 0d | 0a 20 20 20 20 20 20 20 |key=315.|. |
|00003380| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 4d 4f | | MO|
|00003390| 44 45 20 3d 20 27 42 27 | 0d 0a 20 20 20 20 20 20 |DE = 'B'|.. |
|000033a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 45 4c 53 45 | | ELSE|
|000033b0| 20 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | .. | |
|000033c0| 20 20 20 20 20 20 20 20 | 6d 6f 64 65 3d 27 51 27 | |mode='Q'|
|000033d0| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|000033e0| 20 20 20 20 45 4e 44 49 | 46 0d 0a 20 20 20 20 20 | ENDI|F.. |
|000033f0| 20 20 20 20 20 20 20 20 | 20 20 45 4c 53 45 0d 0a | | ELSE..|
|00003400| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 35 00 | | 5.|
|00003410| 20 20 20 20 42 52 4f 57 | 53 45 0d 0a 20 20 20 20 | BROW|SE.. |
|00003420| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 49 46 | | IF|
|00003430| 20 3a 6b 65 79 3d 33 31 | 35 0d 0a 20 20 20 20 20 | :key=31|5.. |
|00003440| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003450| 4d 4f 44 45 20 3d 20 27 | 45 27 0d 0a 20 20 20 20 |MODE = '|E'.. |
|00003460| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 45 4c | | EL|
|00003470| 53 45 20 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |SE .. | |
|00003480| 20 20 20 20 20 20 20 20 | 20 20 6d 6f 64 65 3d 27 | | mode='|
|00003490| 51 27 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |Q'.. | |
|000034a0| 20 20 20 20 20 20 45 4e | 44 49 46 0d 0a 20 20 20 | EN|DIF.. |
|000034b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 45 4e 44 49 | | ENDI|
|000034c0| 46 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 45 |F.. | E|
|000034d0| 4e 44 44 4f 0d 0a 1a 00 | 00 00 00 00 00 00 00 00 |NDDO....|........|
|000034e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003510| 20 73 61 6d 70 6c 65 20 | 70 72 6f 67 72 61 6d 20 | sample |program |
|00003520| 77 69 6c 6c 20 68 65 6c | 70 20 69 6c 6c 75 73 74 |will hel|p illust|
|00003530| 72 61 74 65 20 68 6f 77 | 20 74 68 69 73 20 73 74 |rate how| this st|
|00003540| 72 75 63 74 75 72 65 20 | 63 61 6e 20 62 65 20 75 |ructure |can be u|
|00003550| 73 65 64 2e 20 20 4f 4e | 46 49 45 4c 44 20 69 73 |sed. ON|FIELD is|
|00003560| 20 63 6f 6d 70 61 74 69 | 62 6c 65 20 77 69 74 68 | compati|ble with|
|00003570| 20 61 6c 6c 20 63 75 72 | 72 65 6e 74 20 76 65 72 | all cur|rent ver|
|00003580| 73 69 6f 6e 73 20 6f 66 | 20 53 52 2d 49 6e 66 6f |sions of| SR-Info|
|00003590| 20 61 6e 64 20 56 50 2d | 49 6e 66 6f 2e 0d 0a 0d | and VP-|Info....|
|000035a0| 0a 20 20 20 20 20 4d 61 | 6e 79 20 61 70 70 6c 69 |. Ma|ny appli|
|000035b0| 63 61 74 69 6f 6e 20 68 | 61 76 65 20 74 68 65 20 |cation h|ave the |
|000035c0| 66 6f 6c 6c 6f 77 69 6e | 67 20 73 74 65 70 73 20 |followin|g steps |
|000035d0| 69 6e 20 63 6f 6d 6d 6f | 6e 3a 0d 0a 0d 0a 20 20 |in commo|n:.... |
|000035e0| 20 31 2e 20 20 41 63 63 | 65 70 74 20 69 6e 70 75 | 1. Acc|ept inpu|
|000035f0| 74 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 2d 20 |t inform|ation - |
|00003600| 6f 66 74 65 6e 20 62 79 | 20 74 68 65 20 73 37 00 |often by| the s7.|
|00003610| 63 72 65 65 6e 66 75 6c | 0d 0a 20 20 20 32 2e 20 |creenful|.. 2. |
|00003620| 20 56 61 6c 69 64 61 74 | 65 20 74 68 65 20 69 6e | Validat|e the in|
|00003630| 66 6f 72 6d 61 74 69 6f | 6e 20 2d 20 72 65 71 75 |formatio|n - requ|
|00003640| 65 73 74 69 6e 67 20 61 | 64 64 69 74 69 6f 6e 61 |esting a|dditiona|
|00003650| 6c 20 6f 72 20 63 6f 72 | 72 65 63 74 65 64 0d 0a |l or cor|rected..|
|00003660| 20 20 20 20 20 20 20 20 | 69 6e 66 6f 72 6d 61 74 | |informat|
|00003670| 69 6f 6e 20 61 73 20 72 | 65 71 75 69 72 65 64 0d |ion as r|equired.|
|00003680| 0a 20 20 20 33 2e 20 20 | 50 72 6f 63 65 73 73 20 |. 3. |Process |
|00003690| 74 68 65 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 0d |the info|rmation.|
|000036a0| 0a 20 20 20 34 2e 20 20 | 52 65 70 6f 72 74 20 74 |. 4. |Report t|
|000036b0| 68 65 20 72 65 73 75 6c | 74 73 0d 0a 0d 0a 20 20 |he resul|ts.... |
|000036c0| 20 20 20 55 73 69 6e 67 | 20 74 68 65 20 4f 4e 20 | Using| the ON |
|000036d0| 46 49 45 4c 44 2f 45 4e | 44 4f 4e 20 73 74 72 75 |FIELD/EN|DON stru|
|000036e0| 63 74 75 72 65 20 63 6f | 6d 62 69 6e 65 73 20 73 |cture co|mbines s|
|000036f0| 74 65 70 73 20 31 20 61 | 6e 64 20 32 20 69 6e 20 |teps 1 a|nd 2 in |
|00003700| 61 20 76 65 72 79 20 6e | 61 74 75 72 61 6c 38 00 |a very n|atural8.|
|00003710| 20 77 61 79 2c 20 61 6c | 6c 6f 77 69 6e 67 20 66 | way, al|lowing f|
|00003720| 69 65 6c 64 20 62 79 20 | 66 69 65 6c 64 20 76 65 |ield by |field ve|
|00003730| 72 69 66 69 63 61 74 69 | 6f 6e 20 61 73 20 69 6e |rificati|on as in|
|00003740| 66 6f 72 6d 61 74 69 6f | 6e 20 69 73 20 65 6e 74 |formatio|n is ent|
|00003750| 65 72 65 64 2e 0d 0a 0d | 0a 20 20 20 20 20 54 68 |ered....|. Th|
|00003760| 69 73 20 70 72 6f 67 72 | 61 6d 20 75 73 65 73 20 |is progr|am uses |
|00003770| 74 68 65 20 4f 4e 20 46 | 49 45 4c 44 20 73 74 72 |the ON F|IELD str|
|00003780| 75 63 74 75 72 65 20 6e | 6f 74 20 6f 6e 6c 79 20 |ucture n|ot only |
|00003790| 66 6f 72 20 76 65 72 69 | 66 69 63 61 74 69 6f 6e |for veri|fication|
|000037a0| 2c 20 62 75 74 20 69 6e | 20 74 77 6f 20 6f 74 68 |, but in| two oth|
|000037b0| 65 72 20 77 61 79 73 20 | 61 73 20 77 65 6c 6c 3a |er ways |as well:|
|000037c0| 0d 0a 0d 0a 20 20 20 31 | 2e 20 20 54 6f 20 64 6f |.... 1|. To do|
|000037d0| 20 61 6e 64 20 64 69 73 | 70 6c 61 79 20 63 61 6c | and dis|play cal|
|000037e0| 63 75 6c 61 74 65 64 20 | 76 61 72 69 61 62 6c 65 |culated |variable|
|000037f0| 73 0d 0a 20 20 20 32 2e | 20 20 54 6f 20 66 6f 72 |s.. 2.| To for|
|00003800| 63 65 20 74 68 65 20 63 | 75 72 73 6f 72 20 39 00 |ce the c|ursor 9.|
|00003810| 74 6f 20 67 6f 20 74 6f | 20 73 70 65 63 69 66 69 |to go to| specifi|
|00003820| 65 64 20 69 6e 70 75 74 | 20 77 69 6e 64 6f 77 73 |ed input| windows|
|00003830| 0d 0a 1a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003910| 20 73 61 6d 70 6c 65 20 | 70 72 6f 67 72 61 6d 20 | sample |program |
|00003920| 77 69 6c 6c 20 68 65 6c | 70 20 69 6c 6c 75 73 74 |will hel|p illust|
|00003930| 72 61 74 65 20 68 6f 77 | 20 74 68 69 73 20 73 74 |rate how| this st|
|00003940| 72 75 63 74 75 72 65 20 | 63 61 6e 20 62 65 20 75 |ructure |can be u|
|00003950| 73 65 64 2e 20 20 4f 4e | 46 49 45 4c 44 20 69 73 |sed. ON|FIELD is|
|00003960| 20 63 6f 6d 70 61 74 69 | 62 6c 65 20 77 69 74 68 | compati|ble with|
|00003970| 20 61 6c 6c 20 63 75 72 | 72 65 6e 74 20 76 65 72 | all cur|rent ver|
|00003980| 73 69 6f 6e 73 20 6f 66 | 20 53 52 2d 49 6e 66 6f |sions of| SR-Info|
|00003990| 20 61 6e 64 20 56 50 2d | 49 6e 66 6f 2e 0d 0a 0d | and VP-|Info....|
|000039a0| 0a 20 20 20 20 20 4d 61 | 6e 79 20 61 70 70 6c 69 |. Ma|ny appli|
|000039b0| 63 61 74 69 6f 6e 20 68 | 61 76 65 20 74 68 65 20 |cation h|ave the |
|000039c0| 66 6f 6c 6c 6f 77 69 6e | 67 20 73 74 65 70 73 20 |followin|g steps |
|000039d0| 69 6e 20 63 6f 6d 6d 6f | 6e 3a 0d 0a 0d 0a 20 20 |in commo|n:.... |
|000039e0| 20 31 2e 20 20 41 63 63 | 65 70 74 20 69 6e 70 75 | 1. Acc|ept inpu|
|000039f0| 74 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 2d 20 |t inform|ation - |
|00003a00| 6f 66 74 65 6e 20 62 79 | 20 74 68 65 20 73 3b 00 |often by| the s;.|
|00003a10| 63 72 65 65 6e 66 75 6c | 0d 0a 20 20 20 32 2e 20 |creenful|.. 2. |
|00003a20| 20 56 61 6c 69 64 61 74 | 65 20 74 68 65 20 69 6e | Validat|e the in|
|00003a30| 66 6f 72 6d 61 74 69 6f | 6e 20 2d 20 72 65 71 75 |formatio|n - requ|
|00003a40| 65 73 74 69 6e 67 20 61 | 64 64 69 74 69 6f 6e 61 |esting a|dditiona|
|00003a50| 6c 20 6f 72 20 63 6f 72 | 72 65 63 74 65 64 0d 0a |l or cor|rected..|
|00003a60| 20 20 20 20 20 20 20 20 | 69 6e 66 6f 72 6d 61 74 | |informat|
|00003a70| 69 6f 6e 20 61 73 20 72 | 65 71 75 69 72 65 64 0d |ion as r|equired.|
|00003a80| 0a 20 20 20 33 2e 20 20 | 50 72 6f 63 65 73 73 20 |. 3. |Process |
|00003a90| 74 68 65 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 0d |the info|rmation.|
|00003aa0| 0a 20 20 20 34 2e 20 20 | 52 65 70 6f 72 74 20 74 |. 4. |Report t|
|00003ab0| 68 65 20 72 65 73 75 6c | 74 73 0d 0a 0d 0a 20 20 |he resul|ts.... |
|00003ac0| 20 20 20 55 73 69 6e 67 | 20 74 68 65 20 4f 4e 20 | Using| the ON |
|00003ad0| 46 49 45 4c 44 2f 45 4e | 44 4f 4e 20 73 74 72 75 |FIELD/EN|DON stru|
|00003ae0| 63 74 75 72 65 20 63 6f | 6d 62 69 6e 65 73 20 73 |cture co|mbines s|
|00003af0| 74 65 70 73 20 31 20 61 | 6e 64 20 32 20 69 6e 20 |teps 1 a|nd 2 in |
|00003b00| 61 20 76 65 72 79 20 6e | 61 74 75 72 61 6c 3c 00 |a very n|atural<.|
|00003b10| 20 77 61 79 2c 20 61 6c | 6c 6f 77 69 6e 67 20 66 | way, al|lowing f|
|00003b20| 69 65 6c 64 20 62 79 20 | 66 69 65 6c 64 20 76 65 |ield by |field ve|
|00003b30| 72 69 66 69 63 61 74 69 | 6f 6e 20 61 73 20 69 6e |rificati|on as in|
|00003b40| 66 6f 72 6d 61 74 69 6f | 6e 20 69 73 20 65 6e 74 |formatio|n is ent|
|00003b50| 65 72 65 64 2e 0d 0a 0d | 0a 20 20 20 20 20 49 6e |ered....|. In|
|00003b60| 70 75 74 20 77 69 6e 64 | 6f 77 73 20 63 61 6e 20 |put wind|ows can |
|00003b70| 64 65 66 69 6e 65 64 20 | 62 79 20 61 20 73 65 72 |defined |by a ser|
|00003b80| 69 65 73 20 6f 66 20 40 | 20 78 2c 79 20 67 65 74 |ies of @| x,y get|
|00003b90| 20 73 74 61 74 65 6d 65 | 6e 74 73 2c 20 6f 72 20 | stateme|nts, or |
|00003ba0| 6d 75 63 68 20 6d 6f 72 | 65 20 65 61 73 69 6c 79 |much mor|e easily|
|00003bb0| 20 61 73 20 69 6e 20 74 | 68 69 73 20 65 78 61 6d | as in t|his exam|
|00003bc0| 70 6c 65 20 62 79 20 61 | 20 27 70 61 69 6e 74 65 |ple by a| 'painte|
|00003bd0| 64 27 20 73 63 72 65 65 | 6e 20 75 73 69 6e 67 20 |d' scree|n using |
|00003be0| 74 68 65 20 54 45 58 54 | 2f 45 4e 44 54 45 58 54 |the TEXT|/ENDTEXT|
|00003bf0| 20 73 74 72 75 63 74 75 | 72 65 2c 20 6f 72 20 65 | structu|re, or e|
|00003c00| 76 65 6e 20 61 20 63 6f | 6d 62 69 6e 61 74 3d 00 |ven a co|mbinat=.|
|00003c10| 69 6f 6e 20 6f 66 20 74 | 68 65 20 74 77 6f 2e 20 |ion of t|he two. |
|00003c20| 0d 0a 0d 0a 20 20 20 20 | 20 49 6e 66 6f 20 63 72 |.... | Info cr|
|00003c30| 65 61 74 73 20 61 6e 20 | 69 6e 74 65 72 6e 61 6c |eats an |internal|
|00003c40| 20 47 45 54 20 54 41 42 | 4c 45 20 6c 69 73 74 69 | GET TAB|LE listi|
|00003c50| 6e 67 20 61 6c 6c 20 61 | 63 74 69 76 65 20 69 6e |ng all a|ctive in|
|00003c60| 70 75 74 20 77 69 6e 64 | 6f 77 73 2e 20 49 6e 70 |put wind|ows. Inp|
|00003c70| 75 74 20 69 73 20 61 63 | 74 69 76 61 74 65 64 20 |ut is ac|tivated |
|00003c80| 62 79 20 61 20 52 45 41 | 44 20 63 6f 6d 6d 61 6e |by a REA|D comman|
|00003c90| 64 2e 20 49 66 20 74 68 | 65 72 65 20 69 73 20 61 |d. If th|ere is a|
|00003ca0| 6e 20 4f 4e 20 46 49 45 | 4c 44 2f 45 4e 44 4f 4e |n ON FIE|LD/ENDON|
|00003cb0| 20 73 74 72 75 63 74 75 | 72 65 20 62 65 66 6f 72 | structu|re befor|
|00003cc0| 65 20 74 68 65 20 52 45 | 41 44 20 73 74 61 74 65 |e the RE|AD state|
|00003cd0| 6d 65 6e 74 2c 20 69 74 | 20 69 73 20 72 65 66 65 |ment, it| is refe|
|00003ce0| 72 61 6e 63 65 64 20 61 | 73 20 70 61 72 74 20 6f |ranced a|s part o|
|00003cf0| 66 20 74 68 65 20 52 45 | 41 44 20 70 72 6f 63 65 |f the RE|AD proce|
|00003d00| 73 73 2e 0d 0a 0d 0a 20 | 20 20 20 20 54 68 3e 00 |ss..... | Th>.|
|00003d10| 65 20 47 45 54 20 54 41 | 42 4c 45 20 63 6f 6e 73 |e GET TA|BLE cons|
|00003d20| 69 73 74 73 20 6f 66 20 | 65 6e 74 72 69 65 73 20 |ists of |entries |
|00003d30| 6e 75 6d 62 65 72 65 64 | 20 30 20 74 6f 20 36 35 |numbered| 0 to 65|
|00003d40| 2e 20 46 69 65 6c 64 73 | 20 31 20 74 6f 20 36 34 |. Fields| 1 to 64|
|00003d50| 20 72 65 66 65 72 20 74 | 6f 20 74 68 65 20 61 63 | refer t|o the ac|
|00003d60| 74 75 61 6c 20 69 6e 70 | 75 74 20 77 69 6e 64 6f |tual inp|ut windo|
|00003d70| 77 73 2e 20 46 69 65 6c | 64 20 30 20 72 65 66 65 |ws. Fiel|d 0 refe|
|00003d80| 72 73 20 74 6f 20 61 20 | 73 65 74 20 6f 66 20 70 |rs to a |set of p|
|00003d90| 72 65 70 72 6f 63 65 73 | 73 69 6e 67 20 63 6f 6d |reproces|sing com|
|00003da0| 6d 61 6e 64 73 2c 20 77 | 68 69 6c 65 20 66 69 65 |mands, w|hile fie|
|00003db0| 6c 64 20 36 35 20 72 65 | 66 65 72 73 20 74 6f 20 |ld 65 re|fers to |
|00003dc0| 61 20 73 65 74 20 6f 66 | 20 70 6f 73 74 2d 70 72 |a set of| post-pr|
|00003dd0| 6f 63 65 73 73 69 6e 67 | 20 63 6f 6d 6d 61 6e 64 |ocessing| command|
|00003de0| 73 2e 0d 0a 0d 0a 20 20 | 20 20 20 4f 6e 65 20 66 |s..... | One f|
|00003df0| 75 6e 63 74 69 6f 6e 20 | 66 72 65 71 75 65 6e 74 |unction |frequent|
|00003e00| 6c 79 20 65 6e 63 6f 75 | 6e 74 65 72 65 64 3f 00 |ly encou|ntered?.|
|00003e10| 20 69 6e 20 4f 4e 20 46 | 49 45 4c 44 20 73 74 72 | in ON F|IELD str|
|00003e20| 75 63 74 75 72 65 73 20 | 69 73 20 46 49 45 4c 44 |uctures |is FIELD|
|00003e30| 28 2c 20 77 68 69 63 68 | 20 72 65 74 75 72 6e 73 |(, which| returns|
|00003e40| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 61 | the num|ber of a|
|00003e50| 20 73 70 65 63 69 66 69 | 65 64 20 69 6e 70 75 74 | specifi|ed input|
|00003e60| 20 77 69 6e 64 6f 77 2e | 0d 0a 0d 0a 20 20 20 20 | window.|.... |
|00003e70| 20 41 6e 64 20 61 20 73 | 70 65 63 69 61 6c 20 73 | And a s|pecial s|
|00003e80| 79 73 74 65 6d 20 76 61 | 72 69 61 62 6c 65 20 3a |ystem va|riable :|
|00003e90| 46 49 45 4c 44 20 63 6f | 6e 74 61 69 6e 73 20 74 |FIELD co|ntains t|
|00003ea0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 74 68 65 |he numbe|r of the|
|00003eb0| 20 69 6e 70 75 74 20 77 | 69 6e 64 6f 77 20 74 6f | input w|indow to|
|00003ec0| 20 77 68 69 63 68 20 74 | 68 65 20 63 75 72 73 6f | which t|he curso|
|00003ed0| 72 20 69 73 20 74 6f 20 | 67 6f 20 6e 65 78 74 2e |r is to |go next.|
|00003ee0| 20 20 54 68 65 72 65 66 | 6f 72 65 2c 20 74 68 65 | Theref|ore, the|
|00003ef0| 20 73 74 61 74 65 6d 65 | 6e 74 20 3a 46 49 45 4c | stateme|nt :FIEL|
|00003f00| 44 3d 46 49 45 4c 44 28 | 63 75 73 74 29 20 40 00 |D=FIELD(|cust) @.|
|00003f10| 63 61 75 73 65 73 20 74 | 68 65 20 63 75 72 73 6f |causes t|he curso|
|00003f20| 72 20 74 6f 20 67 6f 20 | 74 6f 20 74 68 65 20 43 |r to go |to the C|
|00003f30| 55 53 54 20 69 6e 70 75 | 74 20 77 69 6e 64 6f 77 |UST inpu|t window|
|00003f40| 2e 20 20 3a 46 49 45 4c | 44 3d 36 35 20 66 6f 72 |. :FIEL|D=65 for|
|00003f50| 63 65 73 20 61 6e 20 65 | 6e 64 20 74 6f 20 74 68 |ces an e|nd to th|
|00003f60| 65 20 52 45 41 44 20 6f | 70 65 72 61 74 69 6f 6e |e READ o|peration|
|00003f70| 2e 0d 0a 0d 0a 20 20 20 | 20 48 65 72 65 20 69 73 |..... | Here is|
|00003f80| 20 74 68 65 20 4f 4e 20 | 46 49 45 4c 44 20 73 74 | the ON |FIELD st|
|00003f90| 72 75 63 74 75 72 65 20 | 6f 66 20 74 68 69 73 20 |ructure |of this |
|00003fa0| 70 72 6f 67 72 61 6d 20 | 66 6f 72 20 79 6f 75 72 |program |for your|
|00003fb0| 20 73 74 75 64 79 3a 0d | 0a 0d 0a 4f 4e 20 66 69 | study:.|...ON fi|
|00003fc0| 65 6c 64 0d 0a 46 49 45 | 4c 44 20 30 20 3b 20 66 |eld..FIE|LD 0 ; f|
|00003fd0| 69 65 6c 64 20 30 20 63 | 6f 6d 6d 61 6e 64 73 20 |ield 0 c|ommands |
|00003fe0| 61 72 65 20 65 78 65 63 | 75 74 65 64 20 62 65 66 |are exec|uted bef|
|00003ff0| 6f 72 65 20 61 6e 20 72 | 65 61 6c 20 66 69 65 6c |ore an r|eal fiel|
|00004000| 64 20 69 73 20 70 72 6f | 63 65 73 73 65 64 41 00 |d is pro|cessedA.|
|00004010| 0d 0a 20 20 20 40 20 31 | 39 2c 32 32 20 73 61 79 |.. @ 1|9,22 say|
|00004020| 20 20 27 20 45 6e 74 65 | 72 20 51 55 49 54 20 74 | ' Ente|r QUIT t|
|00004030| 6f 20 65 78 69 74 20 27 | 0d 0a 20 20 20 3a 46 49 |o exit '|.. :FI|
|00004040| 45 4c 44 20 3d 20 66 69 | 65 6c 64 28 63 75 73 74 |ELD = fi|eld(cust|
|00004050| 63 6f 64 65 29 0d 0a 46 | 49 45 4c 44 20 63 75 73 |code)..F|IELD cus|
|00004060| 74 63 6f 64 65 0d 0a 2a | 20 63 75 73 74 6f 6d 65 |tcode..*| custome|
|00004070| 72 20 63 6f 64 65 20 63 | 6f 75 6c 64 20 62 65 20 |r code c|ould be |
|00004080| 76 65 72 69 66 69 65 64 | 20 68 65 72 65 20 2d 20 |verified| here - |
|00004090| 61 6e 64 20 63 75 73 74 | 6f 6d 65 72 20 66 69 6c |and cust|omer fil|
|000040a0| 65 20 61 6c 6c 69 67 6e | 65 64 0d 0a 20 20 20 49 |e allign|ed.. I|
|000040b0| 46 20 63 75 73 74 63 6f | 64 65 20 3d 20 27 51 55 |F custco|de = 'QU|
|000040c0| 49 54 27 0d 0a 20 20 20 | 20 20 20 3a 46 49 45 4c |IT'.. | :FIEL|
|000040d0| 44 20 3d 20 36 35 20 20 | 3b 20 69 2e 65 2e 20 66 |D = 65 |; i.e. f|
|000040e0| 61 6c 6c 20 6f 75 74 20 | 6f 66 20 74 68 65 20 52 |all out |of the R|
|000040f0| 45 41 44 0d 0a 20 20 20 | 45 4c 53 45 0d 0a 20 20 |EAD.. |ELSE.. |
|00004100| 20 20 20 20 40 20 31 39 | 2c 32 32 20 73 61 42 00 | @ 19|,22 saB.|
|00004110| 79 20 62 6c 61 6e 6b 28 | 33 38 2c 32 30 35 29 20 |y blank(|38,205) |
|00004120| 3b 20 72 65 62 75 69 6c | 64 20 64 6f 75 62 6c 65 |; rebuil|d double|
|00004130| 20 62 6f 78 0d 0a 20 20 | 20 20 20 20 40 20 31 39 | box.. | @ 19|
|00004140| 2c 32 32 20 73 61 79 20 | 27 20 45 6e 74 65 72 20 |,22 say |' Enter |
|00004150| 4e 65 67 61 74 69 76 65 | 20 56 61 6c 75 65 20 74 |Negative| Value t|
|00004160| 6f 20 45 78 69 74 2e 20 | 27 0d 0a 20 20 20 20 20 |o Exit. |'.. |
|00004170| 20 3a 46 49 45 4c 44 20 | 3d 20 66 69 65 6c 64 28 | :FIELD |= field(|
|00004180| 75 6e 69 74 73 5f 73 6f | 6c 64 29 0d 0a 20 20 20 |units_so|ld).. |
|00004190| 45 4e 44 49 46 0d 0a 46 | 49 45 4c 44 20 75 6e 69 |ENDIF..F|IELD uni|
|000041a0| 74 73 5f 73 6f 6c 64 0d | 0a 20 20 20 44 4f 20 43 |ts_sold.|. DO C|
|000041b0| 41 53 45 0d 0a 20 20 20 | 43 41 53 45 20 20 75 6e |ASE.. |CASE un|
|000041c0| 69 74 73 5f 73 6f 6c 64 | 20 3c 20 30 20 3b 20 75 |its_sold| < 0 ; u|
|000041d0| 73 65 72 20 77 61 6e 74 | 73 20 6f 75 74 0d 0a 20 |ser want|s out.. |
|000041e0| 20 20 20 20 20 3a 46 49 | 45 4c 44 20 3d 20 36 35 | :FI|ELD = 65|
|000041f0| 0d 0a 20 20 20 43 41 53 | 45 20 20 75 6e 69 74 73 |.. CAS|E units|
|00004200| 5f 73 6f 6c 64 20 3e 20 | 33 30 30 0d 0a 20 43 00 |_sold > |300.. C.|
|00004210| 20 20 20 20 20 52 49 4e | 47 0d 0a 20 20 20 20 20 | RIN|G.. |
|00004220| 20 52 49 4e 47 0d 0a 20 | 20 20 20 20 20 40 20 31 | RING.. | @ 1|
|00004230| 39 2c 32 32 20 73 61 79 | 20 62 6c 61 6e 6b 28 33 |9,22 say| blank(3|
|00004240| 38 2c 32 30 35 29 20 3b | 20 72 65 62 75 69 6c 64 |8,205) ;| rebuild|
|00004250| 20 64 6f 75 62 6c 65 20 | 62 6f 78 0d 0a 20 20 20 | double |box.. |
|00004260| 20 20 20 40 20 31 39 2c | 32 32 20 73 61 79 20 22 | @ 19,|22 say "|
|00004270| 20 49 20 77 6f 6e 27 74 | 20 62 65 6c 69 65 76 65 | I won't| believe|
|00004280| 20 6d 6f 72 65 20 74 68 | 61 6e 20 33 30 30 20 21 | more th|an 300 !|
|00004290| 21 21 20 22 0d 0a 20 20 | 20 20 20 20 3a 46 49 45 |!! ".. | :FIE|
|000042a0| 4c 44 20 3d 20 66 69 65 | 6c 64 28 75 6e 69 74 73 |LD = fie|ld(units|
|000042b0| 5f 73 6f 6c 64 29 0d 0a | 20 20 20 43 41 53 45 20 |_sold)..| CASE |
|000042c0| 75 6e 69 74 73 5f 73 6f | 6c 64 20 3e 3d 30 20 2e |units_so|ld >=0 .|
|000042d0| 61 6e 64 2e 20 75 6e 69 | 74 73 5f 73 6f 6c 64 20 |and. uni|ts_sold |
|000042e0| 3c 20 32 30 0d 0a 20 20 | 20 20 20 20 52 49 4e 47 |< 20.. | RING|
|000042f0| 0d 0a 20 20 20 20 20 20 | 40 20 31 39 2c 32 32 20 |.. |@ 19,22 |
|00004300| 73 61 79 20 62 6c 61 6e | 6b 28 33 38 2c 32 44 00 |say blan|k(38,2D.|
|00004310| 30 35 29 20 3b 20 72 65 | 62 75 69 6c 64 20 64 6f |05) ; re|build do|
|00004320| 75 62 6c 65 20 62 6f 78 | 0d 0a 20 20 20 20 20 20 |uble box|.. |
|00004330| 40 20 31 39 2c 32 32 20 | 73 61 79 20 20 27 20 4f |@ 19,22 |say ' O|
|00004340| 68 21 20 44 69 73 73 61 | 70 6f 69 6e 74 69 6e 67 |h! Dissa|pointing|
|00004350| 20 73 61 6c 65 73 20 76 | 6f 6c 75 6d 65 20 21 21 | sales v|olume !!|
|00004360| 21 20 27 0d 0a 20 20 20 | 20 20 20 3a 46 49 45 4c |! '.. | :FIEL|
|00004370| 44 20 3d 20 66 69 65 6c | 64 28 75 6e 69 74 5f 77 |D = fiel|d(unit_w|
|00004380| 74 29 0d 0a 20 20 20 43 | 41 53 45 20 75 6e 69 74 |t).. C|ASE unit|
|00004390| 73 5f 73 6f 6c 64 20 3e | 20 35 30 20 2e 61 6e 64 |s_sold >| 50 .and|
|000043a0| 2e 20 75 6e 69 74 73 5f | 73 6f 6c 64 20 3c 20 33 |. units_|sold < 3|
|000043b0| 30 30 0d 0a 20 20 20 20 | 20 20 3f 3f 20 63 68 72 |00.. | ?? chr|
|000043c0| 28 37 29 20 3b 20 52 49 | 4e 47 20 64 6f 65 73 20 |(7) ; RI|NG does |
|000043d0| 74 68 65 20 73 61 6d 65 | 20 74 68 69 6e 67 20 61 |the same| thing a|
|000043e0| 73 20 74 68 69 73 20 6c | 69 6e 65 0d 0a 20 20 20 |s this l|ine.. |
|000043f0| 20 20 20 40 20 31 39 2c | 32 32 20 73 61 79 20 62 | @ 19,|22 say b|
|00004400| 6c 61 6e 6b 28 33 38 2c | 32 30 35 29 20 3b 45 00 |lank(38,|205) ;E.|
|00004410| 20 72 65 62 75 69 6c 64 | 20 64 6f 75 62 6c 65 20 | rebuild| double |
|00004420| 62 6f 78 0d 0a 20 20 20 | 20 20 20 40 20 31 39 2c |box.. | @ 19,|
|00004430| 32 32 20 73 61 79 20 20 | 27 20 48 65 79 2c 20 47 |22 say |' Hey, G|
|00004440| 6f 6f 64 20 57 6f 72 6b | 20 21 21 21 20 27 0d 0a |ood Work| !!! '..|
|00004450| 20 20 20 20 20 20 3a 46 | 49 45 4c 44 20 3d 20 66 | :F|IELD = f|
|00004460| 69 65 6c 64 28 75 6e 69 | 74 5f 77 74 29 0d 0a 20 |ield(uni|t_wt).. |
|00004470| 20 20 4f 54 48 45 52 57 | 49 53 45 0d 0a 20 20 20 | OTHERW|ISE.. |
|00004480| 20 20 20 40 20 31 39 2c | 32 32 20 73 61 79 20 20 | @ 19,|22 say |
|00004490| 62 6c 61 6e 6b 28 33 38 | 2c 32 30 35 29 0d 0a 20 |blank(38|,205).. |
|000044a0| 20 20 20 20 20 3a 46 49 | 45 4c 44 20 3d 20 66 69 | :FI|ELD = fi|
|000044b0| 65 6c 64 28 75 6e 69 74 | 5f 77 74 29 0d 0a 20 20 |eld(unit|_wt).. |
|000044c0| 20 45 4e 44 43 41 53 45 | 0d 0a 46 49 45 4c 44 20 | ENDCASE|..FIELD |
|000044d0| 75 6e 69 74 5f 77 74 0d | 0a 20 20 20 49 46 20 75 |unit_wt.|. IF u|
|000044e0| 6e 69 74 5f 77 74 20 3c | 20 6d 69 6e 5f 77 74 20 |nit_wt <| min_wt |
|000044f0| 2e 6f 72 2e 20 75 6e 69 | 74 5f 77 74 20 3e 20 6d |.or. uni|t_wt > m|
|00004500| 61 78 5f 77 74 0d 0a 20 | 20 20 20 20 20 3f 46 00 |ax_wt.. | ?F.|
|00004510| 3f 20 63 68 72 28 37 29 | 2c 63 68 72 28 37 29 0d |? chr(7)|,chr(7).|
|00004520| 0a 20 20 20 20 20 20 40 | 20 31 39 2c 32 32 20 73 |. @| 19,22 s|
|00004530| 61 79 20 62 6c 61 6e 6b | 28 33 38 2c 32 30 35 29 |ay blank|(38,205)|
|00004540| 20 3b 20 72 65 62 75 69 | 6c 64 20 64 6f 75 62 6c | ; rebui|ld doubl|
|00004550| 65 20 62 6f 78 0d 0a 20 | 20 20 20 20 20 40 20 31 |e box.. | @ 1|
|00004560| 39 2c 32 32 20 73 61 79 | 20 20 27 20 4f 6f 70 73 |9,22 say| ' Oops|
|00004570| 2c 20 77 65 69 67 68 74 | 20 6f 75 74 20 6f 66 20 |, weight| out of |
|00004580| 72 61 6e 67 65 21 20 27 | 0d 0a 20 20 20 20 20 20 |range! '|.. |
|00004590| 3a 46 49 45 4c 44 20 3d | 20 66 69 65 6c 64 28 75 |:FIELD =| field(u|
|000045a0| 6e 69 74 5f 77 74 29 0d | 0a 20 20 20 45 4c 53 45 |nit_wt).|. ELSE|
|000045b0| 0d 0a 20 20 20 20 20 20 | 4e 45 54 5f 57 54 20 3d |.. |NET_WT =|
|000045c0| 20 75 6e 69 74 5f 77 74 | 20 2a 20 75 6e 69 74 73 | unit_wt| * units|
|000045d0| 5f 73 6f 6c 64 0d 0a 20 | 20 20 20 20 20 3a 46 49 |_sold.. | :FI|
|000045e0| 45 4c 44 20 3d 20 66 69 | 65 6c 64 28 75 6e 69 74 |ELD = fi|eld(unit|
|000045f0| 5f 70 72 69 63 65 29 0d | 0a 20 20 20 20 20 20 40 |_price).|. @|
|00004600| 20 31 39 2c 32 32 20 73 | 61 79 20 62 6c 61 47 00 | 19,22 s|ay blaG.|
|00004610| 6e 6b 28 33 38 2c 32 30 | 35 29 20 3b 20 72 65 62 |nk(38,20|5) ; reb|
|00004620| 75 69 6c 64 20 64 6f 75 | 62 6c 65 20 62 6f 78 0d |uild dou|ble box.|
|00004630| 0a 20 20 20 45 4e 44 49 | 46 0d 0a 46 49 45 4c 44 |. ENDI|F..FIELD|
|00004640| 20 75 6e 69 74 5f 70 72 | 69 63 65 0d 0a 20 20 20 | unit_pr|ice.. |
|00004650| 49 46 20 75 6e 69 74 5f | 70 72 69 63 65 20 3c 20 |IF unit_|price < |
|00004660| 6d 69 6e 5f 70 72 69 63 | 65 20 2e 6f 72 2e 20 75 |min_pric|e .or. u|
|00004670| 6e 69 74 5f 70 72 69 63 | 65 20 3e 20 6d 61 78 5f |nit_pric|e > max_|
|00004680| 70 72 69 63 65 0d 0a 20 | 20 20 20 20 20 52 49 4e |price.. | RIN|
|00004690| 47 0d 0a 20 20 20 20 20 | 20 52 49 4e 47 0d 0a 20 |G.. | RING.. |
|000046a0| 20 20 20 20 20 40 20 31 | 39 2c 32 32 20 73 61 79 | @ 1|9,22 say|
|000046b0| 20 62 6c 61 6e 6b 28 33 | 38 2c 32 30 35 29 20 3b | blank(3|8,205) ;|
|000046c0| 20 72 65 62 75 69 6c 64 | 20 64 6f 75 62 6c 65 20 | rebuild| double |
|000046d0| 62 6f 78 0d 0a 20 20 20 | 20 20 20 40 20 31 39 2c |box.. | @ 19,|
|000046e0| 32 32 20 73 61 79 20 20 | 27 20 4f 6f 70 73 2c 20 |22 say |' Oops, |
|000046f0| 70 72 69 63 65 20 6f 75 | 74 20 6f 66 20 72 61 6e |price ou|t of ran|
|00004700| 67 65 21 20 27 0d 0a 20 | 20 20 20 20 20 3a 48 00 |ge! '.. | :H.|
|00004710| 46 49 45 4c 44 20 3d 20 | 66 69 65 6c 64 28 75 6e |FIELD = |field(un|
|00004720| 69 74 5f 70 72 69 63 65 | 29 0d 0a 20 20 20 45 4c |it_price|).. EL|
|00004730| 53 45 0d 0a 20 20 20 20 | 20 20 4e 45 54 5f 50 52 |SE.. | NET_PR|
|00004740| 49 43 45 20 3d 20 75 6e | 69 74 5f 70 72 69 63 65 |ICE = un|it_price|
|00004750| 20 2a 20 75 6e 69 74 73 | 5f 73 6f 6c 64 0d 0a 20 | * units|_sold.. |
|00004760| 20 20 20 20 20 3a 46 49 | 45 4c 44 20 3d 20 36 35 | :FI|ELD = 65|
|00004770| 0d 0a 20 20 20 45 4e 44 | 49 46 0d 0a 46 49 45 4c |.. END|IF..FIEL|
|00004780| 44 20 36 35 0d 0a 20 20 | 20 52 49 4e 47 0d 0a 20 |D 65.. | RING.. |
|00004790| 20 20 40 20 31 39 2c 32 | 32 20 73 61 79 20 62 6c | @ 19,2|2 say bl|
|000047a0| 61 6e 6b 28 33 38 2c 32 | 30 35 29 20 3b 20 72 65 |ank(38,2|05) ; re|
|000047b0| 62 75 69 6c 64 20 64 6f | 75 62 6c 65 20 62 6f 78 |build do|uble box|
|000047c0| 0d 0a 20 20 20 40 20 31 | 39 2c 32 32 20 73 61 79 |.. @ 1|9,22 say|
|000047d0| 20 20 27 20 50 72 65 73 | 73 20 61 6e 79 20 6b 65 | ' Pres|s any ke|
|000047e0| 79 20 74 6f 20 65 6e 64 | 20 64 65 6d 6f 2e 20 27 |y to end| demo. '|
|000047f0| 0d 0a 45 4e 44 4f 4e 0d | 0a 1a 00 00 00 00 00 00 |..ENDON.|........|
|00004800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004810| 61 74 65 73 20 74 68 65 | 20 75 73 65 20 6f 66 20 |ates the| use of |
|00004820| 74 68 65 20 6f 76 65 72 | 77 72 69 74 69 6e 67 20 |the over|writing |
|00004830| 70 72 6f 63 65 64 75 72 | 65 73 20 77 6f 72 6b 69 |procedur|es worki|
|00004840| 6e 67 20 69 6e 20 74 61 | 6e 64 65 6d 20 77 69 74 |ng in ta|ndem wit|
|00004850| 68 20 45 44 49 54 20 61 | 6e 64 20 42 52 4f 57 53 |h EDIT a|nd BROWS|
|00004860| 45 2e 20 54 68 69 73 20 | 69 73 20 61 20 73 69 6d |E. This |is a sim|
|00004870| 70 6c 65 20 74 72 61 6e | 73 61 63 74 69 6f 6e 20 |ple tran|saction |
|00004880| 6d 6f 64 65 20 61 70 70 | 72 6f 61 63 68 20 74 6f |mode app|roach to|
|00004890| 20 72 65 63 6f 72 64 20 | 6d 61 69 6e 74 65 6e 61 | record |maintena|
|000048a0| 6e 63 65 2e 20 41 6c 6c | 20 27 73 63 72 61 74 63 |nce. All| 'scratc|
|000048b0| 68 20 70 61 64 27 20 77 | 6f 72 6b 20 69 73 20 64 |h pad' w|ork is d|
|000048c0| 6f 6e 65 20 69 6e 20 74 | 68 65 20 74 65 6d 70 6f |one in t|he tempo|
|000048d0| 72 61 72 79 20 66 69 6c | 65 2e 20 54 68 65 20 6d |rary fil|e. The m|
|000048e0| 61 73 74 65 72 20 66 69 | 6c 65 20 69 73 20 6f 6e |aster fi|le is on|
|000048f0| 6c 79 20 75 70 64 61 74 | 65 64 20 61 66 74 65 72 |ly updat|ed after|
|00004900| 20 63 6f 6e 66 69 64 65 | 6e 63 65 20 69 6e 4a 00 | confide|nce inJ.|
|00004910| 20 74 68 65 20 6e 65 77 | 20 72 65 63 6f 72 64 20 | the new| record |
|00004920| 69 73 20 65 73 74 61 62 | 6c 69 73 68 65 64 2e 0d |is estab|lished..|
|00004930| 0a 0d 0a 20 20 20 20 20 | 4e 6f 74 65 20 74 68 65 |... |Note the|
|00004940| 20 68 65 61 76 79 20 75 | 73 65 20 6f 66 20 74 68 | heavy u|se of th|
|00004950| 65 20 53 45 4c 45 43 54 | 20 63 6f 6d 6d 61 6e 64 |e SELECT| command|
|00004960| 20 74 6f 20 66 6f 72 63 | 65 20 53 52 2d 49 6e 66 | to forc|e SR-Inf|
|00004970| 6f 20 74 6f 20 77 6f 72 | 6b 20 6f 6e 20 74 68 65 |o to wor|k on the|
|00004980| 20 69 6e 74 65 6e 64 65 | 64 20 66 69 6c 65 2e 20 | intende|d file. |
|00004990| 4e 65 77 20 49 6e 66 6f | 20 75 73 65 72 73 20 6f |New Info| users o|
|000049a0| 66 74 65 6e 20 67 6f 20 | 77 72 6f 6e 67 20 62 79 |ften go |wrong by|
|000049b0| 20 65 6e 64 69 6e 67 20 | 75 70 20 69 6e 20 74 68 | ending |up in th|
|000049c0| 65 20 77 72 6f 6e 67 20 | 53 45 4c 45 43 54 20 61 |e wrong |SELECT a|
|000049d0| 72 65 61 2c 20 66 6f 72 | 67 65 74 74 69 6e 67 20 |rea, for|getting |
|000049e0| 74 68 61 74 20 74 68 65 | 20 63 6f 6d 70 69 6c 65 |that the| compile|
|000049f0| 72 20 61 73 73 75 6d 65 | 73 20 61 20 53 45 4c 45 |r assume|s a SELE|
|00004a00| 43 54 20 65 72 72 6f 72 | 20 77 69 74 68 6f 4b 00 |CT error| withoK.|
|00004a10| 75 74 20 6b 6e 6f 77 69 | 6e 67 20 77 68 69 63 68 |ut knowi|ng which|
|00004a20| 20 62 72 61 6e 63 68 20 | 6f 66 20 74 68 65 20 63 | branch |of the c|
|00004a30| 6f 64 65 20 65 78 65 63 | 75 74 69 6f 6e 20 77 69 |ode exec|ution wi|
|00004a40| 6c 6c 20 66 6f 6c 6c 6f | 77 2e 20 54 68 65 72 65 |ll follo|w. There|
|00004a50| 66 6f 72 65 20 69 74 20 | 69 73 20 61 20 67 6f 6f |fore it |is a goo|
|00004a60| 64 20 70 72 65 63 61 75 | 74 69 6f 6e 20 74 6f 20 |d precau|tion to |
|00004a70| 73 70 65 63 69 66 79 20 | 74 68 65 20 53 45 4c 45 |specify |the SELE|
|00004a80| 43 54 20 61 72 65 61 20 | 65 78 70 6c 69 63 69 74 |CT area |explicit|
|00004a90| 6c 79 2e 0d 0a 0d 0a 20 | 20 20 20 20 4e 6f 74 65 |ly..... | Note|
|00004aa0| 20 74 68 61 74 20 74 68 | 69 73 20 70 72 6f 67 72 | that th|is progr|
|00004ab0| 61 6d 20 69 73 20 73 74 | 69 6c 6c 20 6f 6e 6c 79 |am is st|ill only|
|00004ac0| 20 61 6e 20 6f 75 74 6c | 69 6e 65 20 74 68 61 74 | an outl|ine that|
|00004ad0| 20 73 68 6f 75 6c 64 20 | 62 65 20 27 66 6c 65 73 | should |be 'fles|
|00004ae0| 68 65 64 20 6f 75 74 27 | 20 66 6f 72 20 73 65 72 |hed out'| for ser|
|00004af0| 69 6f 75 73 20 77 6f 72 | 6b 2e 20 20 0d 0a 0d 0a |ious wor|k. ....|
|00004b00| 20 20 20 49 6e 20 70 61 | 72 74 69 63 75 6c 4c 00 | In pa|rticulL.|
|00004b10| 61 72 2c 20 70 72 6f 76 | 69 73 69 6f 6e 20 73 68 |ar, prov|ision sh|
|00004b20| 6f 75 6c 64 20 62 65 20 | 6d 61 64 65 20 66 6f 72 |ould be |made for|
|00004b30| 20 72 65 63 6f 72 64 20 | 64 65 6c 65 74 65 74 69 | record |deleteti|
|00004b40| 6f 6e 20 61 73 20 77 65 | 6c 6c 0d 0a 61 73 20 70 |on as we|ll..as p|
|00004b50| 72 69 6e 74 69 6e 67 20 | 6c 61 62 65 6c 73 20 61 |rinting |labels a|
|00004b60| 6e 64 20 72 65 70 6f 72 | 74 73 2e 0d 0a 1a 72 20 |nd repor|ts....r |
|00004b70| 66 69 6c 65 2e 20 20 53 | 65 6c 65 63 74 69 6e 67 |file. S|electing|
|00004b80| 20 34 20 77 69 6c 6c 20 | 6f 76 65 72 77 72 69 74 | 4 will |overwrit|
|00004b90| 65 20 61 6e 20 61 63 74 | 69 76 65 20 72 65 63 6f |e an act|ive reco|
|00004ba0| 72 64 2e 0d 0a 0d 0a 20 | 20 20 20 20 45 6e 64 20 |rd..... | End |
|00004bb0| 75 73 65 72 73 20 73 68 | 6f 75 6c 64 2c 20 6e 61 |users sh|ould, na|
|00004bc0| 74 75 72 61 6c 6c 79 2c | 20 62 65 20 68 61 6e 64 |turally,| be hand|
|00004bd0| 6c 65 64 20 6d 6f 72 65 | 20 67 65 6e 74 6c 79 21 |led more| gently!|
|00004be0| 0d 0a 1a 75 70 20 74 6f | 20 74 68 65 20 75 73 65 |...up to| the use|
|00004bf0| 72 20 74 6f 20 64 6f 20 | 36 20 62 65 66 6f 72 65 |r to do |6 before|
|00004c00| 20 67 6f 69 6e 67 20 62 | 61 63 6b 20 74 6f 00 00 | going b|ack to..|
|00004c10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004c20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004c30| 20 20 4d 45 4e 55 31 2e | 50 52 47 0d 0a 0d 0a 20 | MENU1.|PRG.... |
|00004c40| 20 20 20 4d 45 4e 55 31 | 20 64 65 6d 6f 6e 73 74 | MENU1| demonst|
|00004c50| 72 61 74 65 73 20 74 68 | 65 20 75 73 65 20 6f 66 |rates th|e use of|
|00004c60| 20 74 68 65 20 4d 45 4e | 55 28 20 66 75 6e 63 74 | the MEN|U( funct|
|00004c70| 69 6f 6e 20 74 6f 20 73 | 65 6c 65 63 74 20 66 72 |ion to s|elect fr|
|00004c80| 6f 6d 20 61 6e 20 0d 0a | 20 20 20 20 49 6e 66 6f |om an ..| Info|
|00004c90| 20 6d 65 6e 75 2e 0d 0a | 0d 0a 20 20 20 20 54 6f | menu...|.. To|
|00004ca0| 20 73 65 6c 65 63 74 2c | 20 6d 6f 76 65 20 74 68 | select,| move th|
|00004cb0| 65 20 63 75 72 73 6f 72 | 20 75 70 20 61 6e 64 20 |e cursor| up and |
|00004cc0| 64 6f 77 6e 20 75 73 69 | 6e 67 20 74 68 65 20 61 |down usi|ng the a|
|00004cd0| 72 72 6f 77 20 6b 65 79 | 73 2e 20 43 6f 6d 6d 69 |rrow key|s. Commi|
|00004ce0| 74 0d 0a 20 20 20 20 74 | 6f 20 61 20 63 68 6f 69 |t.. t|o a choi|
|00004cf0| 63 65 20 62 79 20 70 72 | 65 73 73 69 6e 67 20 74 |ce by pr|essing t|
|00004d00| 68 65 20 45 4e 54 45 52 | 20 6b 65 79 2e 20 51 00 |he ENTER| key. Q.|
|00004d10| 20 6f 66 20 74 68 65 20 | 66 65 61 74 75 72 65 73 | of the |features|
|00004d20| 20 69 6c 6c 75 73 74 72 | 61 74 65 64 20 69 6e 20 | illustr|ated in |
|00004d30| 74 68 65 20 70 72 6f 67 | 72 61 6d 73 20 4d 45 4e |the prog|rams MEN|
|00004d40| 55 20 61 6e 64 20 45 44 | 42 52 4f 57 2e 0d 0a 0d |U and ED|BROW....|
|00004d50| 0a 20 20 20 20 20 49 6e | 20 61 64 64 69 74 69 6f |. In| additio|
|00004d60| 6e 2c 20 74 68 65 20 70 | 72 6f 63 65 64 75 72 65 |n, the p|rocedure|
|00004d70| 73 20 4f 56 45 52 31 20 | 61 6e 64 20 4f 56 45 52 |s OVER1 |and OVER|
|00004d80| 32 20 64 65 6d 6f 6e 73 | 74 72 61 74 65 20 72 65 |2 demons|trate re|
|00004d90| 63 6f 72 64 20 75 70 64 | 61 74 69 6e 67 20 77 69 |cord upd|ating wi|
|00004da0| 74 68 20 74 68 65 20 52 | 45 50 4c 41 43 45 20 63 |th the R|EPLACE c|
|00004db0| 6f 6d 6d 61 6e 64 2e 20 | 4e 6f 74 65 20 74 68 65 |ommand. |Note the|
|00004dc0| 20 6e 61 74 75 72 61 6c | 20 75 73 65 20 6f 66 20 | natural| use of |
|00004dd0| 66 69 6c 65 20 6e 75 6d | 62 65 72 73 20 69 6e 20 |file num|bers in |
|00004de0| 73 74 61 74 65 6d 65 6e | 74 73 20 73 75 63 68 20 |statemen|ts such |
|00004df0| 61 73 20 22 20 52 45 50 | 4c 41 43 45 20 73 74 61 |as " REP|LACE sta|
|00004e00| 74 65 23 32 20 77 69 74 | 68 20 73 74 61 74 4f 00 |te#2 wit|h statO.|
|00004e10| 65 23 31 22 20 2e 0d 0a | 0d 0a 20 20 20 20 20 4e |e#1" ...|.. N|
|00004e20| 6f 74 65 20 74 68 61 74 | 20 76 65 72 79 20 66 65 |ote that| very fe|
|00004e30| 77 20 74 65 6d 70 6f 72 | 61 72 79 20 76 61 72 69 |w tempor|ary vari|
|00004e40| 61 62 6c 65 73 20 61 72 | 65 20 75 73 65 64 2e 20 |ables ar|e used. |
|00004e50| 41 20 27 73 63 72 61 74 | 63 68 27 20 66 69 6c 65 |A 'scrat|ch' file|
|00004e60| 20 69 73 20 75 73 65 64 | 20 66 6f 72 20 74 65 6d | is used| for tem|
|00004e70| 70 6f 72 61 72 79 20 77 | 6f 72 6b 2e 0d 0a 1a 20 |porary w|ork.... |
|00004e80| 20 4d 45 4d 42 45 52 53 | 20 4d 41 49 4e 20 4d 45 | MEMBERS| MAIN ME|
|00004e90| 4e 55 0d 0a 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |NU.... | |
|00004ea0| 20 20 20 20 20 20 20 20 | 20 20 30 2e 20 45 78 69 | | 0. Exi|
|00004eb0| 74 20 70 72 6f 67 72 61 | 6d 20 61 6e 64 20 53 52 |t progra|m and SR|
|00004ec0| 2d 49 6e 66 6f 2e 0d 0a | 0d 0a 20 20 20 20 20 20 |-Info...|.. |
|00004ed0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 31 2e | | 1.|
|00004ee0| 20 43 68 6f 6f 73 65 20 | 61 20 73 74 61 72 74 69 | Choose |a starti|
|00004ef0| 6e 67 20 72 65 63 6f 72 | 64 2e 0d 0a 20 20 20 20 |ng recor|d... |
|00004f00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 00 00 | | ..|
|00004f10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004f20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004f30| 20 20 4d 45 4e 55 31 2e | 50 52 47 0d 0a 0d 0a 20 | MENU1.|PRG.... |
|00004f40| 20 20 20 4d 45 4e 55 31 | 20 64 65 6d 6f 6e 73 74 | MENU1| demonst|
|00004f50| 72 61 74 65 73 20 74 68 | 65 20 75 73 65 20 6f 66 |rates th|e use of|
|00004f60| 20 74 68 65 20 4d 45 4e | 55 28 20 66 75 6e 63 74 | the MEN|U( funct|
|00004f70| 69 6f 6e 20 74 6f 20 63 | 68 6f 6f 73 65 20 62 65 |ion to c|hoose be|
|00004f80| 74 77 65 65 6e 0d 0a 20 | 20 20 20 63 6f 75 72 73 |tween.. | cours|
|00004f90| 65 73 20 6f 66 20 61 63 | 74 69 6f 6e 2e 0d 0a 0d |es of ac|tion....|
|00004fa0| 0a 20 20 20 20 4d 45 4e | 55 28 20 75 73 65 73 20 |. MEN|U( uses |
|00004fb0| 74 77 6f 20 69 6e 70 75 | 74 73 3a 20 74 68 65 20 |two inpu|ts: the |
|00004fc0| 6e 75 6d 62 65 72 20 6f | 66 20 6f 70 74 69 6f 6e |number o|f option|
|00004fd0| 73 20 28 4e 29 20 74 6f | 20 62 65 20 61 76 61 69 |s (N) to| be avai|
|00004fe0| 6c 61 62 6c 65 20 74 6f | 20 74 68 65 0d 0a 20 20 |lable to| the.. |
|00004ff0| 20 20 73 65 6c 65 63 74 | 69 6f 6e 20 62 61 72 2c | select|ion bar,|
|00005000| 20 61 6e 64 20 74 68 65 | 20 77 69 64 74 68 53 00 | and the| widthS.|
|00005010| 41 20 6e 75 6d 62 65 72 | 20 6f 66 20 6f 74 68 65 |A number| of othe|
|00005020| 72 20 6b 65 79 73 20 69 | 6e 63 6c 75 64 69 6e 67 |r keys i|ncluding|
|00005030| 0d 0a 20 20 20 20 74 68 | 65 20 45 4e 44 20 6b 65 |.. th|e END ke|
|00005040| 79 20 61 6e 64 20 74 68 | 65 20 46 55 4e 43 54 49 |y and th|e FUNCTI|
|00005050| 4f 4e 20 6b 65 79 73 20 | 77 69 6c 6c 20 61 6c 73 |ON keys |will als|
|00005060| 6f 20 63 6f 6d 6d 69 74 | 20 74 6f 20 61 20 73 65 |o commit| to a se|
|00005070| 6c 65 63 74 69 6f 6e 2e | 0d 0a 0d 0a 20 20 20 20 |lection.|.... |
|00005080| 41 20 63 68 6f 69 63 65 | 20 63 61 6e 20 61 6c 73 |A choice| can als|
|00005090| 6f 20 62 65 20 6d 61 64 | 65 20 62 79 20 65 6e 74 |o be mad|e by ent|
|000050a0| 65 72 69 6e 67 20 74 68 | 65 20 6e 75 6d 62 65 72 |ering th|e number|
|000050b0| 20 6f 66 20 74 68 65 20 | 63 68 6f 69 63 65 2e 20 | of the |choice. |
|000050c0| 0d 0a 20 20 20 20 54 68 | 69 73 20 6d 65 74 68 6f |.. Th|is metho|
|000050d0| 64 20 6f 6e 6c 79 20 77 | 6f 72 6b 73 20 66 6f 72 |d only w|orks for|
|000050e0| 20 76 61 6c 75 65 73 20 | 6c 65 73 73 20 74 68 61 | values |less tha|
|000050f0| 6e 20 31 30 2e 0d 0a 0d | 0a 20 20 20 20 43 68 6f |n 10....|. Cho|
|00005100| 69 63 65 20 30 20 63 61 | 6e 20 6f 6e 6c 79 52 00 |ice 0 ca|n onlyR.|
|00005110| 20 62 65 20 6d 61 64 65 | 20 62 79 20 70 72 65 73 | be made| by pres|
|00005120| 73 69 6e 67 20 74 68 65 | 20 30 20 6b 65 79 2e 0d |sing the| 0 key..|
|00005130| 0a 0d 0a 20 20 20 20 49 | 6e 20 74 68 69 73 20 73 |... I|n this s|
|00005140| 61 6d 70 6c 65 20 70 72 | 6f 67 72 61 6d 2c 20 6d |ample pr|ogram, m|
|00005150| 6f 73 74 20 63 68 6f 69 | 63 65 73 20 73 69 6d 70 |ost choi|ces simp|
|00005160| 6c 79 20 70 72 6f 64 75 | 63 65 20 61 20 6d 65 73 |ly produ|ce a mes|
|00005170| 73 61 67 65 20 61 74 0d | 0a 20 20 20 20 74 68 65 |sage at.|. the|
|00005180| 20 62 6f 74 74 6f 6d 20 | 6f 66 20 74 68 65 20 73 | bottom |of the s|
|00005190| 63 72 65 65 6e 2e 0d 0a | 1a 68 65 20 77 72 6f 6e |creen...|.he wron|
|000051a0| 67 20 53 45 4c 45 43 54 | 20 61 72 65 61 2c 20 66 |g SELECT| area, f|
|000051b0| 6f 72 67 65 74 74 69 6e | 67 20 74 68 61 74 20 74 |orgettin|g that t|
|000051c0| 68 65 20 63 6f 6d 70 69 | 6c 65 72 20 61 73 73 75 |he compi|ler assu|
|000051d0| 6d 65 73 20 61 20 53 45 | 4c 45 43 54 20 65 72 72 |mes a SE|LECT err|
|000051e0| 6f 72 20 77 69 74 68 6f | 75 74 20 6b 6e 6f 77 69 |or witho|ut knowi|
|000051f0| 6e 67 20 77 68 69 63 68 | 20 62 72 61 6e 63 68 20 |ng which| branch |
|00005200| 6f 66 20 74 68 65 20 63 | 6f 64 65 20 65 78 00 00 |of the c|ode ex..|
|00005210| 20 28 57 29 20 6f 66 20 | 74 68 65 20 73 65 6c 65 | (W) of |the sele|
|00005220| 63 74 69 6f 6e 20 62 61 | 72 2e 20 20 54 68 65 20 |ction ba|r. The |
|00005230| 63 68 6f 69 63 65 20 69 | 73 0d 0a 20 20 20 20 72 |choice i|s.. r|
|00005240| 65 63 6f 72 64 65 64 20 | 69 6e 20 74 68 65 20 76 |ecorded |in the v|
|00005250| 61 72 69 61 6c 62 6c 65 | 20 73 65 6c 65 63 74 69 |arialble| selecti|
|00005260| 6f 6e 2e 0d 0a 0d 0a 20 | 20 20 20 4d 65 6e 75 73 |on..... | Menus|
|00005270| 20 61 72 65 20 6e 6f 72 | 6d 61 6c 6c 79 20 63 72 | are nor|mally cr|
|00005280| 65 61 74 65 64 20 62 79 | 20 70 72 65 73 65 6e 74 |eated by| present|
|00005290| 69 6e 67 20 74 65 78 74 | 20 6f 6e 20 74 68 65 20 |ing text| on the |
|000052a0| 73 63 72 65 65 6e 20 77 | 69 74 68 20 74 68 65 0d |screen w|ith the.|
|000052b0| 0a 20 20 20 20 54 45 58 | 54 20 63 6f 6d 6d 61 6e |. TEX|T comman|
|000052c0| 64 2c 20 73 65 74 74 69 | 6e 67 20 74 68 65 20 63 |d, setti|ng the c|
|000052d0| 75 72 73 6f 72 20 70 6f | 73 69 74 69 6f 6e 20 61 |ursor po|sition a|
|000052e0| 74 20 74 68 65 20 62 65 | 67 69 6e 6e 69 6e 67 20 |t the be|ginning |
|000052f0| 6f 66 20 74 68 65 0d 0a | 20 20 20 20 6c 69 6e 65 |of the..| line|
|00005300| 20 66 6f 72 20 63 68 6f | 69 63 65 20 31 2c 54 00 | for cho|ice 1,T.|
|00005310| 20 61 6e 64 20 74 68 65 | 6e 20 65 78 65 63 75 74 | and the|n execut|
|00005320| 69 6e 67 20 74 68 65 20 | 4d 45 4e 55 28 20 66 75 |ing the |MENU( fu|
|00005330| 6e 63 74 69 6f 6e 2e 0d | 0a 0d 0a 20 20 20 20 46 |nction..|... F|
|00005340| 6f 72 20 65 78 61 6d 70 | 6c 65 3a 0d 0a 0d 0a 20 |or examp|le:.... |
|00005350| 20 20 45 52 41 53 45 20 | 20 20 20 20 20 20 20 20 | ERASE | |
|00005360| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 3b 66 69 | | ;fi|
|00005370| 6c 6c 73 20 77 69 6e 64 | 6f 77 20 77 69 74 68 20 |lls wind|ow with |
|00005380| 62 6c 61 6e 6b 73 0d 0a | 20 20 20 54 45 58 54 0d |blanks..| TEXT.|
|00005390| 0a 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 53 41 |... | SA|
|000053a0| 4d 50 4c 45 20 4d 41 49 | 4e 20 4d 45 4e 55 0d 0a |MPLE MAI|N MENU..|
|000053b0| 0d 0a 20 20 20 20 30 2e | 20 45 78 69 74 20 49 6e |.. 0.| Exit In|
|000053c0| 66 6f 20 61 6e 64 20 72 | 65 74 75 72 6e 20 74 6f |fo and r|eturn to|
|000053d0| 20 44 4f 53 0d 0a 0d 0a | 20 20 20 20 31 2e 20 42 | DOS....| 1. B|
|000053e0| 72 61 6e 63 68 20 31 20 | 6f 66 20 73 61 6d 70 6c |ranch 1 |of sampl|
|000053f0| 65 20 70 72 6f 67 72 61 | 6d 0d 0a 20 20 20 20 32 |e progra|m.. 2|
|00005400| 2e 20 42 72 61 6e 63 68 | 20 32 20 6f 66 20 55 00 |. Branch| 2 of U.|
|00005410| 73 61 6d 70 6c 65 20 70 | 72 6f 67 72 61 6d 0d 0a |sample p|rogram..|
|00005420| 20 20 20 20 33 2e 20 42 | 72 61 6e 63 68 20 33 20 | 3. B|ranch 3 |
|00005430| 6f 66 20 73 61 6d 70 6c | 65 20 70 72 6f 67 72 61 |of sampl|e progra|
|00005440| 6d 0d 0a 20 20 20 20 34 | 2e 20 42 72 61 6e 63 68 |m.. 4|. Branch|
|00005450| 20 34 20 6f 66 20 73 61 | 6d 70 6c 65 20 70 72 6f | 4 of sa|mple pro|
|00005460| 67 72 61 6d 0d 0a 20 20 | 20 20 35 2e 20 45 78 69 |gram.. | 5. Exi|
|00005470| 74 20 70 72 6f 67 72 61 | 6d 20 2d 20 62 75 74 20 |t progra|m - but |
|00005480| 73 74 61 79 20 69 6e 20 | 49 6e 66 6f 0d 0a 20 20 |stay in |Info.. |
|00005490| 20 20 36 2e 20 52 65 74 | 75 72 6e 20 74 6f 20 74 | 6. Ret|urn to t|
|000054a0| 68 65 20 4d 61 69 6e 20 | 44 65 6d 6f 6e 73 74 72 |he Main |Demonstr|
|000054b0| 61 74 69 6f 6e 20 4d 65 | 6e 75 0d 0a 0d 0a 20 20 |ation Me|nu.... |
|000054c0| 20 45 4e 44 54 45 58 54 | 0d 0a 20 20 20 43 55 52 | ENDTEXT|.. CUR|
|000054d0| 53 4f 52 20 31 32 2c 32 | 35 20 3b 20 70 6f 73 69 |SOR 12,2|5 ; posi|
|000054e0| 74 69 6f 6e 73 20 6d 65 | 6e 75 20 63 75 72 73 6f |tions me|nu curso|
|000054f0| 72 20 6f 76 65 72 20 31 | 73 74 20 63 68 61 72 61 |r over 1|st chara|
|00005500| 63 74 65 72 20 6f 66 20 | 31 73 74 20 63 68 56 00 |cter of |1st chV.|
|00005510| 6f 69 63 65 0d 0a 20 20 | 20 73 65 6c 65 63 74 69 |oice.. | selecti|
|00005520| 6f 6e 3d 6d 65 6e 75 28 | 36 2c 33 37 29 20 20 20 |on=menu(|6,37) |
|00005530| 20 20 20 3b 73 69 78 20 | 63 68 6f 69 63 65 73 20 | ;six |choices |
|00005540| 6d 65 6e 75 20 62 61 72 | 20 77 69 64 74 68 20 33 |menu bar| width 3|
|00005550| 37 0d 0a 0d 0a 20 20 20 | 54 68 69 73 20 4d 45 4e |7.... |This MEN|
|00005560| 55 28 20 73 74 61 74 65 | 6d 65 6e 74 20 73 74 6f |U( state|ment sto|
|00005570| 72 65 20 74 68 65 20 63 | 68 6f 69 63 65 20 69 6e |re the c|hoice in|
|00005580| 20 74 68 65 20 76 61 72 | 69 61 62 6c 65 20 53 45 | the var|iable SE|
|00005590| 4c 45 43 54 49 4f 4e 2e | 0d 0a 0d 0a 20 20 20 41 |LECTION.|.... A|
|000055a0| 20 43 41 53 45 20 73 74 | 72 75 63 74 75 72 65 20 | CASE st|ructure |
|000055b0| 63 6f 6e 74 61 69 6e 73 | 20 74 68 65 20 61 63 74 |contains| the act|
|000055c0| 69 6f 6e 73 20 74 6f 20 | 62 65 20 74 61 6b 65 20 |ions to |be take |
|000055d0| 66 6f 72 20 65 61 63 68 | 20 63 68 6f 69 63 65 3a |for each| choice:|
|000055e0| 0d 0a 20 20 20 44 4f 20 | 43 41 53 45 0d 0a 20 20 |.. DO |CASE.. |
|000055f0| 20 43 41 53 45 20 73 65 | 6c 65 63 74 69 6f 6e 3d | CASE se|lection=|
|00005600| 30 0d 0a 20 20 20 20 20 | 20 51 55 49 54 0d 57 00 |0.. | QUIT.W.|
|00005610| 0a 20 20 20 43 41 53 45 | 20 73 65 6c 65 63 74 69 |. CASE| selecti|
|00005620| 6f 6e 3d 31 0d 0a 20 20 | 20 20 20 20 40 20 32 30 |on=1.. | @ 20|
|00005630| 2c 32 31 20 73 61 79 20 | 22 20 59 6f 75 20 68 61 |,21 say |" You ha|
|00005640| 76 65 20 73 65 6c 65 63 | 74 65 64 20 6f 70 74 69 |ve selec|ted opti|
|00005650| 6f 6e 20 31 2e 20 22 0d | 0a 20 20 20 20 20 20 52 |on 1. ".|. R|
|00005660| 49 4e 47 0d 0a 20 20 20 | 20 20 20 44 45 4c 41 59 |ING.. | DELAY|
|00005670| 20 31 20 3b 20 77 61 69 | 74 20 6f 6e 65 20 73 65 | 1 ; wai|t one se|
|00005680| 63 6f 6e 64 0d 0a 20 20 | 20 43 41 53 45 20 73 65 |cond.. | CASE se|
|00005690| 6c 65 63 74 69 6f 6e 3d | 32 0d 0a 20 20 20 20 20 |lection=|2.. |
|000056a0| 20 2e 0d 0a 20 20 20 20 | 20 20 2e 0d 0a 20 20 20 | ... | ... |
|000056b0| 20 20 20 2e 0d 0a 20 20 | 20 45 4e 44 43 41 53 45 | ... | ENDCASE|
|000056c0| 0d 0a 0d 0a 0d 0a 0d 0a | 0d 0a 0d 0a 20 20 20 54 |........|.... T|
|000056d0| 68 69 73 20 6d 65 6e 75 | 20 68 61 73 20 62 65 65 |his menu| has bee|
|000056e0| 6e 20 70 6c 61 63 65 20 | 69 6e 73 69 64 65 20 61 |n place |inside a|
|000056f0| 20 63 6f 6e 74 69 6e 75 | 6f 75 73 20 6c 6f 6f 70 | continu|ous loop|
|00005700| 20 75 73 69 6e 67 20 74 | 68 65 20 44 4f 20 58 00 | using t|he DO X.|
|00005710| 57 48 49 4c 45 0d 0a 20 | 20 20 63 6f 6d 6d 61 6e |WHILE.. | comman|
|00005720| 64 3a 0d 0a 0d 0a 20 20 | 20 44 4f 20 57 48 49 4c |d:.... | DO WHIL|
|00005730| 45 20 31 3d 31 20 20 20 | 20 3b 70 75 74 73 20 6d |E 1=1 | ;puts m|
|00005740| 61 69 6e 20 6d 65 6e 75 | 20 69 6e 20 61 6e 20 69 |ain menu| in an i|
|00005750| 6e 66 69 6e 69 74 65 20 | 6c 6f 6f 70 20 73 69 6e |nfinite |loop sin|
|00005760| 63 65 20 31 3d 31 20 69 | 73 20 61 6c 77 61 79 73 |ce 1=1 i|s always|
|00005770| 20 74 72 75 65 0d 0a 20 | 20 20 20 20 20 2e 0d 0a | true.. | ...|
|00005780| 20 20 20 20 20 20 2e 0d | 0a 20 20 20 20 20 20 2e | ..|. .|
|00005790| 0d 0a 20 20 20 45 4e 44 | 44 4f 0d 0a 1a 20 20 20 |.. END|DO... |
|000057a0| 43 41 53 45 20 73 65 6c | 65 63 74 69 6f 6e 3d 36 |CASE sel|ection=6|
|000057b0| 20 3b 20 62 6c 61 6e 6b | 20 72 65 63 6f 72 64 20 | ; blank| record |
|000057c0| 69 6e 20 74 65 6d 70 20 | 66 69 6c 65 0d 0a 2a 20 |in temp |file..* |
|000057d0| 6e 6f 74 65 3a 20 54 68 | 69 73 20 70 61 72 74 20 |note: Th|is part |
|000057e0| 6f 66 20 74 68 65 20 64 | 65 6d 6f 20 6d 75 73 74 |of the d|emo must|
|000057f0| 20 62 65 20 27 66 6c 65 | 73 68 65 64 20 6f 75 74 | be 'fle|shed out|
|00005800| 27 20 66 6f 72 20 73 65 | 72 69 6f 75 73 20 00 00 |' for se|rious ..|
|00005810| 1a 6f 72 6b 0d 0a 2a 20 | 20 20 20 20 20 20 41 73 |.ork..* | As|
|00005820| 20 70 72 65 73 65 6e 74 | 65 64 20 69 74 20 69 73 | present|ed it is|
|00005830| 20 75 70 20 74 6f 20 74 | 68 65 20 75 73 65 72 20 | up to t|he user |
|00005840| 74 6f 20 67 6f 20 62 61 | 63 6b 20 74 6f 20 74 68 |to go ba|ck to th|
|00005850| 65 20 6d 61 69 6e 20 6d | 65 6e 75 0d 0a 2a 20 20 |e main m|enu..* |
|00005860| 20 20 20 20 20 61 6e 64 | 20 73 65 6c 65 63 74 20 | and| select |
|00005870| 35 20 74 6f 20 61 70 70 | 65 6e 64 20 74 6f 20 6d |5 to app|end to m|
|00005880| 61 73 74 65 72 20 66 69 | 6c 65 2e 20 53 65 6c 65 |aster fi|le. Sele|
|00005890| 63 74 69 6e 67 20 34 20 | 77 69 6c 6c 0d 0a 2a 20 |cting 4 |will..* |
|000058a0| 20 20 20 20 20 20 6f 76 | 65 72 77 72 69 74 65 20 | ov|erwrite |
|000058b0| 61 6e 20 61 63 74 69 76 | 65 20 72 65 63 6f 72 64 |an activ|e record|
|000058c0| 2e 20 45 6e 64 20 75 73 | 65 72 73 20 73 68 6f 75 |. End us|ers shou|
|000058d0| 6c 64 20 62 65 20 68 61 | 6e 64 6c 65 64 20 6d 6f |ld be ha|ndled mo|
|000058e0| 72 65 20 67 65 6e 74 6c | 79 21 0d 0a 20 20 20 20 |re gentl|y!.. |
|000058f0| 20 20 53 45 4c 45 43 54 | 20 32 0d 0a 20 20 20 20 | SELECT| 2.. |
|00005900| 20 20 5a 41 50 0d 0a 20 | 20 20 20 20 20 41 00 00 | ZAP.. | A..|
|00005910| 6e 67 20 6d 61 69 6c 69 | 6e 67 20 6c 61 62 65 6c |ng maili|ng label|
|00005920| 73 20 69 73 20 69 6e 63 | 6c 75 64 65 64 20 69 6e |s is inc|luded in|
|00005930| 20 74 68 69 73 20 73 61 | 6d 70 6c 65 0d 0a 20 20 | this sa|mple.. |
|00005940| 20 20 20 63 6f 6c 6c 65 | 63 74 69 6f 6e 2e 0d 0a | colle|ction...|
|00005950| 0d 0a 20 20 20 20 20 41 | 66 74 65 72 20 65 78 70 |.. A|fter exp|
|00005960| 65 72 69 6d 65 6e 74 73 | 20 77 69 74 68 20 74 68 |eriments| with th|
|00005970| 65 20 73 61 6d 70 6c 65 | 20 64 61 74 61 20 70 72 |e sample| data pr|
|00005980| 6f 76 69 64 65 64 2c 20 | 79 6f 75 20 6d 61 79 20 |ovided, |you may |
|00005990| 77 61 6e 74 20 74 6f 20 | 65 6d 70 74 79 20 74 68 |want to |empty th|
|000059a0| 65 20 66 69 6c 65 20 2d | 20 75 73 65 20 74 68 65 |e file -| use the|
|000059b0| 20 5a 41 50 20 63 6f 6d | 6d 61 6e 64 20 61 6e 64 | ZAP com|mand and|
|000059c0| 20 41 50 50 45 4e 44 20 | 79 6f 75 72 20 6f 75 6e | APPEND |your oun|
|000059d0| 20 64 61 74 61 2e 0d 0a | 0d 0a 20 20 20 20 20 4d | data...|.. M|
|000059e0| 45 4d 42 45 52 53 20 64 | 65 6d 6f 6e 73 74 72 61 |EMBERS d|emonstra|
|000059f0| 74 65 73 20 74 68 65 20 | 75 73 65 20 6f 66 20 74 |tes the |use of t|
|00005a00| 68 65 20 6f 76 65 72 77 | 72 69 74 69 6e 67 5b 00 |he overw|riting[.|
|00005a10| 20 70 72 6f 63 65 64 75 | 72 65 73 20 77 6f 72 6b | procedu|res work|
|00005a20| 69 6e 67 20 69 6e 20 74 | 61 6e 64 65 6d 20 77 69 |ing in t|andem wi|
|00005a30| 74 68 20 45 44 49 54 20 | 61 6e 64 20 42 52 4f 57 |th EDIT |and BROW|
|00005a40| 53 45 2e 20 54 68 69 73 | 20 69 73 20 61 20 73 69 |SE. This| is a si|
|00005a50| 6d 70 6c 65 20 74 72 61 | 6e 73 61 63 74 69 6f 6e |mple tra|nsaction|
|00005a60| 20 6d 6f 64 65 20 61 70 | 70 72 6f 61 63 68 20 74 | mode ap|proach t|
|00005a70| 6f 20 72 65 63 6f 72 64 | 20 6d 61 69 6e 74 65 6e |o record| mainten|
|00005a80| 61 6e 63 65 2e 20 41 6c | 6c 20 27 73 63 72 61 74 |ance. Al|l 'scrat|
|00005a90| 63 68 20 70 61 64 27 20 | 77 6f 72 6b 20 69 73 20 |ch pad' |work is |
|00005aa0| 64 6f 6e 65 20 69 6e 20 | 74 68 65 20 74 65 6d 70 |done in |the temp|
|00005ab0| 6f 72 61 72 79 20 66 69 | 6c 65 2e 20 54 68 65 20 |orary fi|le. The |
|00005ac0| 6d 61 73 74 65 72 20 66 | 69 6c 65 20 69 73 20 6f |master f|ile is o|
|00005ad0| 6e 6c 79 20 75 70 64 61 | 74 65 64 20 61 66 74 65 |nly upda|ted afte|
|00005ae0| 72 20 63 6f 6e 66 69 64 | 65 6e 63 65 20 69 6e 20 |r confid|ence in |
|00005af0| 74 68 65 20 6e 65 77 20 | 72 65 63 6f 72 64 20 69 |the new |record i|
|00005b00| 73 20 65 73 74 61 62 6c | 69 73 68 65 64 2e 5c 00 |s establ|ished.\.|
|00005b10| 0d 0a 1a 6f 20 74 6f 20 | 6e 65 78 74 20 72 65 63 |...o to |next rec|
|00005b20| 6f 72 64 0d 0a 20 20 20 | 20 20 20 47 4f 54 4f 20 |ord.. | GOTO |
|00005b30| 3a 6e 65 61 72 0d 0a 20 | 20 20 45 4e 44 49 46 0d |:near.. | ENDIF.|
|00005b40| 0a 45 4e 44 50 52 4f 43 | 45 44 55 52 45 3b 20 73 |.ENDPROC|EDURE; s|
|00005b50| 74 61 72 74 5f 72 65 63 | 0d 0a 2a 0d 0a 2a 20 20 |tart_rec|..*..* |
|00005b60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005b70| 20 20 20 2a 2a 2a 20 65 | 6e 64 20 6f 66 20 4d 45 | *** e|nd of ME|
|00005b80| 4d 42 45 52 53 2e 50 52 | 47 20 2a 2a 2a 0d 0a 1a |MBERS.PR|G ***...|
|00005b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c10| 6f 73 74 20 6f 66 20 74 | 68 65 20 70 72 6f 67 72 |ost of t|he progr|
|00005c20| 61 6d 20 63 6f 6e 73 69 | 73 74 73 20 6f 66 20 43 |am consi|sts of C|
|00005c30| 4f 4c 4f 52 20 61 6e 64 | 20 44 45 4c 41 59 20 63 |OLOR and| DELAY c|
|00005c40| 6f 6d 6d 61 6e 64 73 20 | 74 6f 20 62 75 69 6c 64 |ommands |to build|
|00005c50| 20 75 70 20 74 68 65 20 | 69 6e 69 74 69 61 6c 73 | up the |initials|
|00005c60| 20 22 53 52 49 22 2c 20 | 66 69 72 73 74 20 62 79 | "SRI", |first by|
|00005c70| 20 62 75 69 6c 64 69 6e | 67 20 6c 61 72 67 65 20 | buildin|g large |
|00005c80| 63 6f 6c 6f 72 65 64 20 | 72 65 63 74 61 6e 67 6c |colored |rectangl|
|00005c90| 65 73 2c 20 61 6e 64 20 | 74 68 65 6e 20 62 79 20 |es, and |then by |
|00005ca0| 22 77 68 69 74 65 6e 69 | 6e 67 22 20 6f 75 74 20 |"whiteni|ng" out |
|00005cb0| 70 61 72 74 73 20 6f 66 | 20 74 68 65 20 62 6c 6f |parts of| the blo|
|00005cc0| 63 6b 73 20 74 6f 20 66 | 6f 72 6d 20 74 68 65 20 |cks to f|orm the |
|00005cd0| 6c 65 74 74 65 72 73 2e | 0d 0a 0d 0a 20 20 20 20 |letters.|.... |
|00005ce0| 20 42 65 63 61 75 73 65 | 20 49 6e 66 6f 20 69 73 | Because| Info is|
|00005cf0| 20 73 6f 20 66 61 73 74 | 2c 20 69 74 27 73 20 6e | so fast|, it's n|
|00005d00| 65 63 65 73 73 61 72 79 | 20 74 6f 20 69 6e 5e 00 |ecessary| to in^.|
|00005d10| 73 65 72 74 73 20 73 68 | 6f 72 74 20 74 69 6d 65 |serts sh|ort time|
|00005d20| 64 20 64 65 6c 61 79 73 | 20 62 65 74 77 65 65 6e |d delays| between|
|00005d30| 20 73 74 65 70 73 20 74 | 6f 20 6d 61 6b 65 20 74 | steps t|o make t|
|00005d40| 68 65 20 70 72 6f 63 65 | 73 73 20 76 69 73 69 62 |he proce|ss visib|
|00005d50| 6c 65 2e 20 20 57 69 74 | 68 20 6f 6e 65 2d 74 65 |le. Wit|h one-te|
|00005d60| 6e 74 68 20 6f 66 20 61 | 20 73 65 63 6f 6e 64 20 |nth of a| second |
|00005d70| 62 65 74 77 65 65 6e 20 | 73 74 65 70 73 2c 20 74 |between |steps, t|
|00005d80| 68 65 20 65 66 66 65 63 | 74 73 20 69 73 20 73 69 |he effec|ts is si|
|00005d90| 6d 69 6c 61 72 20 74 6f | 20 61 6e 69 6d 61 74 69 |milar to| animati|
|00005da0| 6f 6e 2e 0d 0a 0d 0a 20 | 20 20 20 4f 6e 65 20 73 |on..... | One s|
|00005db0| 6d 61 6c 6c 20 22 74 72 | 69 63 6b 22 20 69 73 20 |mall "tr|ick" is |
|00005dc0| 65 6d 70 6c 6f 79 65 64 | 20 74 6f 20 72 65 71 75 |employed| to requ|
|00005dd0| 69 72 65 20 74 68 65 20 | 75 73 65 72 20 74 6f 20 |ire the |user to |
|00005de0| 70 72 65 73 73 20 46 31 | 30 20 62 65 66 6f 72 65 |press F1|0 before|
|00005df0| 20 61 6e 20 65 78 69 74 | 20 69 73 20 70 65 72 6d | an exit| is perm|
|00005e00| 69 74 74 65 64 2e 20 20 | 41 20 76 61 72 69 5f 00 |itted. |A vari_.|
|00005e10| 61 62 6c 65 20 44 55 4d | 4d 59 20 69 73 20 63 72 |able DUM|MY is cr|
|00005e20| 65 61 74 65 64 20 61 6e | 64 20 69 6e 69 74 69 61 |eated an|d initia|
|00005e30| 6c 69 7a 65 64 20 74 6f | 20 61 20 6e 75 6d 62 65 |lized to| a numbe|
|00005e40| 72 2e 20 54 68 65 6e 20 | 74 68 65 20 75 73 65 72 |r. Then |the user|
|00005e50| 20 69 73 20 70 75 74 20 | 69 6e 74 6f 20 61 20 6c | is put |into a l|
|00005e60| 6f 6f 70 20 77 69 74 68 | 20 6f 6e 6c 79 20 6f 6e |oop with| only on|
|00005e70| 65 20 77 61 79 20 74 6f | 20 65 78 69 74 3a 20 70 |e way to| exit: p|
|00005e80| 72 65 73 73 69 6e 67 20 | 74 68 65 20 46 31 30 20 |ressing |the F10 |
|00005e90| 6b 65 79 20 28 6b 65 79 | 20 6e 75 6d 62 65 72 20 |key (key| number |
|00005ea0| 33 32 34 29 2e 0d 0a 0d | 0a 64 75 6d 6d 79 3d 35 |324)....|.dummy=5|
|00005eb0| 30 0d 0a 44 4f 20 57 48 | 49 4c 45 20 64 75 6d 6d |0..DO WH|ILE dumm|
|00005ec0| 79 20 3c 3e 20 33 32 34 | 20 3b 20 49 6e 66 6f 20 |y <> 324| ; Info |
|00005ed0| 63 6f 64 65 20 66 6f 72 | 20 46 31 30 0d 0a 20 20 |code for| F10.. |
|00005ee0| 20 64 75 6d 6d 79 3d 69 | 6e 6b 65 79 28 29 20 3b | dummy=i|nkey() ;|
|00005ef0| 20 77 61 69 74 20 66 6f | 72 20 61 20 6b 65 79 73 | wait fo|r a keys|
|00005f00| 74 72 6f 6b 65 0d 0a 45 | 4e 44 44 4f 0d 0a 59 00 |troke..E|NDDO..Y.|
|00005f10| 20 72 61 6e 67 65 20 6f | 66 20 73 79 73 74 65 6d | range o|f system|
|00005f20| 73 2e 20 54 68 65 72 65 | 20 61 72 65 20 61 20 66 |s. There| are a f|
|00005f30| 65 77 20 68 61 72 64 77 | 61 72 65 2f 63 6f 6d 62 |ew hardw|are/comb|
|00005f40| 69 6e 61 74 69 6f 6e 73 | 20 77 69 74 68 20 77 68 |inations| with wh|
|00005f50| 69 63 68 20 74 68 65 73 | 65 20 66 65 61 74 75 72 |ich thes|e featur|
|00005f60| 65 73 20 63 6f 6e 66 69 | 6c 69 63 74 2e 0d 0a 0d |es confi|lict....|
|00005f70| 0a 20 20 20 20 20 56 50 | 2d 49 6e 66 6f 20 4c 65 |. VP|-Info Le|
|00005f80| 76 65 6c 20 31 20 75 73 | 65 72 73 20 63 61 6e 20 |vel 1 us|ers can |
|00005f90| 63 6f 6e 74 72 6f 6c 20 | 74 68 65 20 65 66 66 65 |control |the effe|
|00005fa0| 63 74 73 20 70 61 63 6b | 61 67 65 20 77 69 74 68 |cts pack|age with|
|00005fb0| 20 74 68 65 20 53 45 54 | 20 53 4f 55 4e 44 20 63 | the SET| SOUND c|
|00005fc0| 6f 6d 6d 61 6e 64 20 28 | 64 65 66 61 75 6c 74 20 |ommand (|default |
|00005fd0| 69 73 20 53 4f 55 4e 44 | 20 4f 46 46 29 2e 20 46 |is SOUND| OFF). F|
|00005fe0| 6f 72 20 6f 74 68 65 72 | 20 49 6e 66 6f 20 75 73 |or other| Info us|
|00005ff0| 65 72 73 2c 20 61 20 4e | 6f 65 66 66 65 63 74 73 |ers, a N|oeffects|
|00006000| 20 63 6f 6d 6d 61 6e 64 | 20 69 6e 20 79 6f 61 00 | command| in yoa.|
|00006010| 75 72 20 2e 53 45 54 20 | 66 69 6c 65 20 77 69 6c |ur .SET |file wil|
|00006020| 6c 20 64 69 73 61 62 6c | 65 20 74 68 65 73 65 20 |l disabl|e these |
|00006030| 65 66 66 65 63 74 73 2e | 20 54 68 69 73 20 70 72 |effects.| This pr|
|00006040| 6f 67 72 61 6d 20 77 69 | 6c 6c 20 73 74 69 6c 6c |ogram wi|ll still|
|00006050| 20 72 75 6e 2c 20 62 75 | 74 20 71 75 69 65 74 6c | run, bu|t quietl|
|00006060| 79 20 61 6e 64 20 77 69 | 74 68 20 6c 65 73 73 20 |y and wi|th less |
|00006070| 66 6c 61 69 72 2e 0d 0a | 0d 0a 20 20 20 20 20 49 |flair...|.. I|
|00006080| 66 20 79 6f 75 20 68 61 | 76 65 20 61 20 4e 4f 45 |f you ha|ve a NOE|
|00006090| 46 46 45 43 54 53 20 63 | 6f 6d 6d 61 6e 64 20 69 |FFECTS c|ommand i|
|000060a0| 6e 20 79 6f 75 72 20 53 | 45 54 20 66 69 6c 65 2c |n your S|ET file,|
|000060b0| 20 74 68 69 73 20 70 72 | 6f 67 72 61 6d 20 77 69 | this pr|ogram wi|
|000060c0| 6c 6c 20 73 74 69 6c 6c | 20 72 75 6e 2c 20 62 75 |ll still| run, bu|
|000060d0| 74 20 71 75 69 65 74 6c | 79 20 61 6e 64 20 77 69 |t quietl|y and wi|
|000060e0| 74 68 20 6c 65 73 73 20 | 66 6c 61 69 72 2e 0d 0a |th less |flair...|
|000060f0| 0d 0a 20 20 20 20 20 45 | 46 46 45 43 54 53 20 6d |.. E|FFECTS m|
|00006100| 6f 76 65 73 20 64 69 73 | 70 6c 61 79 73 20 9a 00 |oves dis|plays ..|
|00006110| 64 65 3a 0d 0a 0d 0a 20 | 20 20 20 53 45 54 20 43 |de:.... | SET C|
|00006120| 4f 4c 4f 52 20 54 4f 20 | 6f 72 20 3a 43 4f 4c 4f |OLOR TO |or :COLO|
|00006130| 52 3d 20 61 72 65 20 75 | 73 65 64 20 74 6f 20 63 |R= are u|sed to c|
|00006140| 68 61 6e 67 65 20 74 68 | 65 20 63 6f 6c 6f 72 20 |hange th|e color |
|00006150| 61 74 74 72 69 62 75 74 | 65 20 75 73 65 64 20 77 |attribut|e used w|
|00006160| 68 65 6e 20 70 72 69 6e | 74 69 6e 67 20 74 6f 20 |hen prin|ting to |
|00006170| 74 68 65 20 73 63 72 65 | 65 6e 2e 0d 0a 0d 0a 20 |the scre|en..... |
|00006180| 20 20 20 42 4f 58 20 69 | 73 20 75 73 65 64 20 74 | BOX i|s used t|
|00006190| 6f 20 64 69 73 70 6c 61 | 79 20 76 61 72 69 6f 75 |o displa|y variou|
|000061a0| 73 20 73 69 7a 65 64 20 | 62 6f 78 65 73 20 77 69 |s sized |boxes wi|
|000061b0| 74 68 6f 75 74 20 63 68 | 61 6e 67 69 6e 67 20 74 |thout ch|anging t|
|000061c0| 68 65 20 65 66 66 65 63 | 74 69 76 65 20 73 69 7a |he effec|tive siz|
|000061d0| 65 20 6f 66 20 74 68 65 | 20 73 63 72 65 65 6e 20 |e of the| screen |
|000061e0| 6f 72 20 65 72 61 73 69 | 6e 67 20 74 68 65 20 69 |or erasi|ng the i|
|000061f0| 6e 73 69 64 65 20 6f 66 | 20 74 68 65 20 62 6f 78 |nside of| the box|
|00006200| 2c 20 61 73 20 57 49 4e | 44 4f 57 20 64 6f 63 00 |, as WIN|DOW doc.|
|00006210| 65 73 2e 0d 0a 0d 0a 20 | 20 20 20 43 4c 53 20 6f |es..... | CLS o|
|00006220| 72 20 45 52 41 53 45 20 | 69 73 20 75 73 65 64 20 |r ERASE |is used |
|00006230| 74 6f 20 65 72 61 73 65 | 20 61 6c 6c 20 6f 72 20 |to erase| all or |
|00006240| 70 61 72 74 20 6f 66 20 | 74 68 65 20 73 63 72 65 |part of |the scre|
|00006250| 65 6e 2e 0d 0a 0d 0a 20 | 20 20 20 43 4f 4c 4f 52 |en..... | COLOR|
|00006260| 20 69 73 20 75 73 65 64 | 20 74 6f 20 73 65 74 20 | is used| to set |
|00006270| 74 68 65 20 63 6f 6c 6f | 72 20 6f 66 20 61 6e 20 |the colo|r of an |
|00006280| 61 72 65 61 20 6f 6e 20 | 74 68 65 20 73 63 72 65 |area on |the scre|
|00006290| 65 6e 20 77 69 74 68 6f | 75 74 20 63 68 61 6e 67 |en witho|ut chang|
|000062a0| 69 6e 67 20 74 68 65 20 | 76 61 6c 75 65 20 6f 66 |ing the |value of|
|000062b0| 20 3a 43 4f 4c 4f 52 2e | 0d 0a 0d 0a 20 20 20 20 | :COLOR.|.... |
|000062c0| 44 45 4c 41 59 20 69 73 | 20 75 73 65 64 20 74 6f |DELAY is| used to|
|000062d0| 20 73 75 73 70 65 6e 64 | 20 65 78 65 63 75 74 69 | suspend| executi|
|000062e0| 6f 6e 20 66 6f 72 20 61 | 20 73 70 65 63 69 66 69 |on for a| specifi|
|000062f0| 65 64 20 6e 75 6d 62 65 | 72 20 6f 66 20 73 65 63 |ed numbe|r of sec|
|00006300| 6f 6e 64 73 2c 20 6f 72 | 20 66 72 61 63 74 64 00 |onds, or| fractd.|
|00006310| 69 6f 6e 73 20 6f 66 20 | 73 65 63 6f 6e 64 73 2e |ions of |seconds.|
|00006320| 0d 0a 0d 0a 20 20 20 20 | 53 43 52 45 45 4e 20 69 |.... |SCREEN i|
|00006330| 73 20 75 73 65 64 20 74 | 6f 20 64 69 72 65 63 74 |s used t|o direct|
|00006340| 20 6f 75 74 70 75 74 20 | 74 6f 20 74 68 65 20 66 | output |to the f|
|00006350| 6f 72 65 67 72 6f 75 6e | 64 20 6f 72 20 62 61 63 |oregroun|d or bac|
|00006360| 6b 67 72 6f 75 6e 64 20 | 73 63 72 65 65 6e 2c 20 |kground |screen, |
|00006370| 74 6f 20 6d 6f 76 65 20 | 61 20 73 63 72 65 65 6e |to move |a screen|
|00006380| 20 69 6d 61 67 65 20 66 | 72 6f 6d 20 6f 6e 65 20 | image f|rom one |
|00006390| 73 63 72 65 65 6e 20 74 | 6f 20 61 6e 6f 74 68 65 |screen t|o anothe|
|000063a0| 72 2c 20 6f 72 20 74 6f | 20 6d 6f 76 65 20 53 63 |r, or to| move Sc|
|000063b0| 72 65 65 6e 20 32 20 74 | 6f 20 74 68 65 20 66 6f |reen 2 t|o the fo|
|000063c0| 72 65 67 72 6f 75 6e 64 | 20 73 63 72 65 65 6e 20 |reground| screen |
|000063d0| 77 69 74 68 20 61 20 73 | 70 65 63 69 61 6c 20 65 |with a s|pecial e|
|000063e0| 66 66 65 63 74 2e 20 20 | 54 68 65 20 73 65 76 65 |ffect. |The seve|
|000063f0| 6e 20 61 76 61 69 6c 61 | 62 6c 65 20 73 70 65 63 |n availa|ble spec|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.