|
Jonathan E. Sisk's Pick/BASIC: A Programmer's Guide WWW Edition January, 2000
APPENDIX B
STAFF FILE SAMPLE DATA AND DICTIONARY |
The following DATA items should be added to the STAFF file. This can be done using the editor, just like you did with the tutorial programs. Alternately, if you completed program Example 12, which deals with file input and output, then that program can be used to add these items to the STAFF file.
Item-Id 100
001 THOMPSON, HUNTER
002 C/O STARDUST HOTEL
003 LAS VEGAS
004 NV
005 77777
006 7026601000
007 8888
008 -6500
009 15000
Item-Id 101
001 HEMINGWAY, ERNIE
002 C/O HARRY'S BAR
003 KEY WEST
004 FL
005 19104
006 3056167890
007 7777
008 -10000
009 25000
Item-Id 102
001 STEINBECK, JOHN
002 C/O CANNERY ROW HOTEL
003 MONTEREY
004 CA
005 94500
006 4158858880
007 6666
008 -9000
009 12500
Item-ID 103
001 ALLEN, WOODY
002 300 CENTRAL PARK WEST
003 NEW YORK
004 NY
005 10019
006 2122252412
007 6789
008 -8000
009 200000
Item-Id 104
001 TRUDEAU, GARRY
002 C/O WALDEN POND
003 WALDEN
004 MA
005 08080
006 6175554444
007 7100
008 -5500
009 35000
Item-Id 106
001 KUBRICK, STANLEY
002 C/O STANLEY HOTEL
003 ESTES PARK
004 CO
005 80808
006 3035558888
007 7050
008 -8500
009 22500
Item-ID 107
001 HUSTON, JOHN
002 C/O RICKS AMERICAN BAR
003 CASABLANCA
004 CA
005 92303
006 9499987777
007 6800
008 -7700
00919500
Previous chapter
Next chapter
Top