home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
simtel
/
sigm
/
vols000
/
vol063
/
nad3add.doc
< prev
next >
Wrap
Text File
|
1985-02-09
|
11KB
|
262 lines
NAD:┴ NAM┼ AN─ ADDRES╙ PROGRAM
NA─ i≤ ß prograφ tha⌠ create≤ ß filσ oµ name≤ anΣ addresses¼ ì
fo≥ usσ b∙ othe≥ programs¼ e.g« t∩ prin⌠ labels¼ addres≤ letters¼ ì
o≥ mai∞ statement≤ o≥ invoices«
Sincσ yo⌡ namσ thσ filσ a⌠ thσ timσ i⌠ i≤ created¼á NA─á ma∙ ì
bσá useΣá t∩á creatσ man∙ separatσ namσ anΣá addres≤á files«á Fo≥ ì
example¼á usinτ NAD¼á separatσ file≤ fo≥ office¼á home¼á o≥á eveε ì
Christma≤ card≤ ma∙ bσ created.
T∩á envokσ NA─ merel∙ typσ 'NADº anΣ ß carriagσ returεá wheε ì
prompteΣá b∙á thσ CP/═ operatinτ systeφ ¿ A>)«á Thσá screeεá wil∞ ì
clear¼á anΣá promp⌠á witΦ ß men⌡ offerrinτ yo⌡ ßá choicσá oµá (1⌐ ì
creatinτ ß ne≈ namσ anΣ addres≤ file¼á o≥ addinτ additiona∞ name≤ ì
anΣ addresse≤ t∩ aε existinτ file╗ (2⌐ changinτ an∙ oµ thσ infor-ì
matioε iε an∙ recorΣ iε an∙ NA─ file╗ (3⌐ deletinτ ß recorΣ froφ ì
thσá file╗á (4⌐ findinτ whethe≥ ß particula≥ namσ i≤ presen⌠á iε ì
thσ file╗ o≥ (5⌐ listinτ thσ entirσ file.
After selecting from the menu, the program will prompt with:
ENTE╥ TH┼ FIL┼ NAM┼ AS║ DRIVE:NAME.EXTESION
wil∞ appear« Ente≥ thσ namσ yo⌡ wisΦ t∩ usσ fo≥ thσ filσ oµ namσ ì
anΣ addresses« I⌠ i≤ recommendeΣ tha⌠ yo⌡ usσ thσ 'Bº drive¼ anΣ ì
thσ extensioε 'NAD'¼ bu⌠ thi≤ i≤ no⌠ required« A≤ yo⌡ arσ remind-ì
eΣ b∙ thσ promptinτ message¼ thσ drivσ wil∞ bσ eithe≥ 'Aº o≥ 'B'¼ ì
thσ namσ ma∙ bσ u≡ t∩ eigh⌠ letter≤ o≥ spaces¼á anΣ thσ extensioε ì
n∩ morσ thaε threσ letter≤ o≥ spaces« Fo≥ example¼ 'B:HOME.NAD'¼ ì
'B:OFFICE.NAD'¼ 'B:XMAS.NAD'¼ arσ al∞ permissiblσ filσ names.
Iµ thσ filσ i≤ no⌠ presen⌠ oε thσ designateΣ disδ (i.e«á thσ ì
prograφá canno⌠á locatσ thσ filσ iε thσá disk'≤á directory)¼á thσ ì
prograφ wil∞ promp⌠ witΦ thσ question
I╙ THI╙ ┴ NE╫ FILE┐ Y/N
answe≥á witΦ eithe≥ ß capita∞ 'Yº o≥ 'N'«á Sa∙ 'Yº iµ thi≤ i≤á ß ì
ne≈ file¼á o≥ yo⌡ arσ re-creatinτ ß previou≤ file« Enterinτ a'Yº ì
wil∞ ERAS┼ an∙ existinτ filσ b∙ thσ samσ name¼á and/o≥ creatσ thσ ì
filσá b∙á thσ namσ yo⌡ havσ jus⌠ entered«á Enterinτ ßá 'Nºá wil∞ ì
causσ thσ prograφ t∩ returε t∩ thσ firs⌠ prompt¼ anΣ allo≈ yo⌡ t∩ ì
re-ente≥ thσ filename¼ correctly«
Iµá yo⌡ havσ choseε eithe≥ t∩ (1⌐ determinσ whethe≥ ß parti-ì
cula≥á namσá i≤á presen⌠ iε thσ file¼á o≥ (2⌐ t∩á deletσá ßá namσ ì
(record⌐á froφ thσ file¼á o≥ (3⌐ t∩ changσ thσá informatioεá con-ì
taineΣ iε ß particula≥ record¼ thσ prograφ wil∞ promp⌠ fo≥ yo⌡ t∩ ì
ente≥ thσ namσ yo⌡ arσ lookinτ for« Iµ thi≤ namσ i≤ founΣ iε thσ ì
file¼á thσá informatioεá iε tha⌠ particula≥ recorΣ wil∞á bσá dis-ì
played«á Iµá i⌠ i≤ no⌠ found¼á yo⌡ wil∞ bσ offerreΣ ß chancσá t∩ ì
lis⌠ al∞ name≤ beginninτ witΦ thσ samσ letter«á Thi≤ i≤ particu-ìè
1
larl∙ usefu∞ iµ yo⌡ arσ no⌠ surσ exactl∙ ho≈ ß namσ i≤ spelt¼á o≥ ì
precisel∙ ho≈ i⌠ i≤ entereΣ iε thσ file.
Iµá yo⌡ havσ choseε t∩ creatσ ß filσ o≥ adΣ t∩á aεá existinτ ì
file, thσ prograφ wil∞ nex⌠ clea≥ thσ screeε anΣ promp⌠
NAME:______________________________
#:_____▀ STREE╘ ____________________
CITY:_________▀ STATE:_________▀ ZIP:__________
ATTENTION║ ______________________________
Ente≥á eacΦ piecσ oµ information¼á followeΣ b∙ ß carriagσ return« ì
Thσá prograφ wil∞ automaticall∙ positioε thσ curso≥ fo≥ thσá nex⌠ ì
entry« An∙ item¼ e.g« thσ #¼ zi≡ o≥ attention¼ ma∙ bσ omitteΣ b∙ ì
merel∙á enterinτá ß carriagσ return«á EacΦá underlinσá characte≥ ì
('_'⌐ represent≤ onσ potentia∞ lette≥ oµ thσ entry╗ fo≥ example¼ ì
u≡á t∩ thirt∙ letter≤ ma∙ bσ entereΣ fo≥ thσ name¼á teεá fo≥á thσ ì
zip«á Iµá morσ thaε thσ permissiblσ numbe≥ oµ letter≤ o≥ number≤ ì
arσ entered¼á thσ prograφ wil∞ sounΣ ß warninτ bell¼á erasσá you≥ ì
entry¼á promp⌠á tha⌠á thσ entr∙ i≤ to∩ long¼á anΣ repositioεá thσ ì
curso≥á awaitinτ you≥ response«á Notσ tha⌠ thσ prograφ doe≤á no⌠ ì
distinguisΦ betweeε letter≤ anΣ numbers¼á anΣ thu≤ yo⌡ ma∙á ente≥ ì
eithe≥ a⌠ an∙ timσ (e.g« #║ AP╘ │ STREET║ N.3rΣ Street)«
┴á specia∞á timσ savinτ featurσ i≤ includeΣ iε versioεá 3.0« ì
Wheε prompteΣ t∩ ente≥ thσ city¼ yo⌡ ma∙ ente≥ eithe≥ ß '7º o≥ aε ì
'8'«á Thesσ character≤ wil∞ causσ thσ prograφ t∩á automaticall∙ ì
assigεá ß predeterminσ (o≥ default⌐ "valueó t∩ botΦ thσ cit∙á anΣ ì
state¼á anΣá displa∙ thesσ oε thσ screen«á Thi≤ i≤á particularl∙ ì
usefu∞á iµá man∙á oµá you≥ addresse≤ arσ iε thσá samσá cit∙á (anΣ ì
state)«á Fo≥ example¼á a≤ shippeΣ thσ prograφ wil∞ automaticall∙ ì
assigεá anΣ displa∙ 'Richmond¼á Virginiaº wheε ß '7º i≤á entered¼ ì
anΣ 'Boston¼á Mass.º wheε aε '8º i≤ entered«á Thσ defaul⌠á value≤ ì
arσ displayed¼á a≤ ß reminder¼ a⌠ thσ bottoφ oµ thσ screeε durinτ ì
datß entry«á Yo⌡ ma∙ changσ thesσ defaul⌠ value≤ b∙ merel∙ reas-ì
signinτá thσ value≤ oµ thσ fou≥ constant≤ listeΣ a⌠ thσ beginninτ ì
oµ thσ program« (Remembe≥ tha⌠ thσ cit∙ mus⌠ bσ l╕ character≤ anΣ ì
thσ statσ l░ character≤ iε length.⌐
Afte≥á yo⌡ havσ entereΣ al∞ thσ informatioε (o≥á ßá carriagσ ì
returε fo≥ eacΦ item)¼ thσ prograφ wil∞ prompt
I╙ TH┼ INFORMATIO╬ CORREC╘ A╙ ENTERED┐ Y/N
Again¼á answe≥ witΦ eithe≥ ß capita∞ 'Yº o≥ 'N'« Iµ thσ informa-ì
tioεá i≤ correct¼á ente≥ ß 'Y'«á Thσ prograφ wil∞ theε writσá thσ ì
informatioε t∩ thσ file« Iµ yo⌡ b∙ chancσ havσ madσ ß mistakσ iε ì
enterinτá thσ information¼á ente≥ aε 'N'«á Enterinτ aε 'Nºá wil∞ ì
resul⌠á iεá ßá displa∙á tha⌠ offer≤ yo⌡ ßá choicσá oµá eacΦá iteφ ì
(name,#,street¼á etc.)«á Ente≥ thσ numbe≥ oµ thσ firs⌠ incorrec⌠ ì
entry«á Thσá iteφ wil∞ bσ erased¼á anΣ thσá curso≥á repositioneΣ ì
awaitinτ you≥ response«á Afte≥ yo⌡ re-ente≥ thσ information¼ thσ ì
curso≥á wil∞á returε t∩ thσ questioε 'ente≥ thσ numbe≥ oµá incor-ì
rect..'«á Iµ al∞ thσ informatioε i≤ correct¼ ente≥ thσ numbe≥ 8╗ ìè
2
iµ not¼ continuσ b∙ enterinτ thσ numbe≥ correspondinτ t∩ thσ nex⌠ ì
incorrec⌠ entry«á Oncσ yo⌡ ente≥ aε '8'¼á thσ prograφ wil∞ erasσ ì
thi≤á prompt¼á anΣ writσ thσ informatioε t∩ thσ file«á Oncσá thσ ì
informatioε i≤ writteε t∩ thσ file¼á thσ NA─ wil∞ rewritσ al∞ thσ ì
prompt≤ (name¼ #¼ street¼ etc.⌐ anΣ awai⌠ you≥ response.
Iµ yo⌡ havσ n∩ furthe≥ name≤ o≥ addresse≤ t∩ enter¼ typσ thσ ì
namσ EXIT¼ carriagσ return« Thσ prograφ wil∞ asδ you
DO YOU WISH TO CHOOSE FROM THE MENU AGAIN?
Again¼á answe≥ witΦ eithe≥ ß capita∞ 'Yº o≥ 'N'« Iµ yo⌡ sa∙ 'Y'¼ ì
thσá prograφ wil∞ returε t∩ thσ menu¼á anΣ yo⌡ ma∙ selec⌠á again« ì
Iµ yo⌡ answe≥ 'N'¼ thσ prograφ wil∞ terminatσ anΣ yo⌡ wil∞ returε ì
t∩á CP/M«á Thσ opportunit∙ t∩ returε t∩ thσ men⌡ i≤ offerreΣá a⌠ ì
the conclusion of any procedure (ie. any choice from the menu).
Iµ yo⌡ havσ eithe≥ addeΣ o≥ deleteΣ record≤ froφ ß NA─ file¼ ì
thσá prograφ wil∞ warε anΣ reminΣ yo⌡ t∩ ruε thσ utilit∙á prograφ ì
ALPHABE╘ immediatel∙ upoε exitinτ froφ NAD« Thi≤ utilit∙ prograφ ì
i≤ crucia∞ t∩ thσ prope≥ operatioε oµ NAD«á I⌠ (l⌐á alphabetize≤ ì
thσ record≤ oµ thσ filσ baseΣ oε thσ name¼ anΣ theε (2⌐ establis-ì
he≤á ß specia∞ filσ witΦ thσ samσ namσ a≤ thσ NA─ file¼á bu⌠ witΦ ì
thσá extensioεá '.ALP'«á Thi≤ filσ contain≤á thσá beginninτá anΣ ì
endinτá recorΣ number≤ oµ thσ NA─ file¼á fo≥ name≤ beginninτ witΦ ì
eacΦ lette≥ oµ thσ alphabet«á (Iε othe≥ words¼ recorΣ numbe≥ onσ ì
oµ thσ .AL╨ filσ contain≤ thσ firs⌠ anΣ las⌠ recorΣ numbe≥ oµ thσ ì
correspondinτ .NA─ filσ fo≥ name≤ beginninτ witΦ thσ lette≥á 'A'« ì
Similarly¼ thσ seconΣ recorΣ oµ .AL╨ filσ contain≤ thσ "pointersó ì
fo≥á thσá name≤ beginninτ witΦ 'B'.⌐ NA─ use≤ thσ .AL╨á filσá t∩ ì
"randoml∙á searchóá thσ NA─ filσ fo≥ an∙ particula≥á name«á Thi≤ ì
permit≤ NA─ t∩ finΣ an∙ particula≥ recorΣ iε ß matte≥ oµ seconds«
REMEMBE╥ yo⌡ MUS╘ ruε alphabe⌠ wheneve≥ yo⌡ finisΦ usinτ NA─ ì
t∩ adΣ o≥ deletσ name≤ (records⌐ froφ ß file«
Wheε yo⌡ selec⌠ t∩ changσ informatioε containeΣ iε ß record¼ ì
thσá prograφ wil∞ asδ fo≥ thσ name«á Iµ found¼á thσ prograφá wil∞ ì
displa∙ thσ informatioε a≤ founΣ iε thσ record¼ anΣ displa∙ belo≈ ì
this¼á ßá men⌡ offerrinτ yo⌡ ß chancσ t∩ correc⌠ eacΦ iteφ iε thσ ì
record«á Yo⌡ ma∙ sequentiall∙ changσ eacΦ item« Wheε thσ infor-ì
matioεá i≤ completel∙ correct¼á ente≥ aε '8'«á Thσ prograφá wil∞ ì
writσ thσ correc⌠ recorΣ t∩ thσ file«
Iµ yo⌡ selec⌠ t∩ lis⌠ ß namσ anΣ addres≤ file¼á thσá prograφ ì
wil∞á promp⌠ yo⌡ t∩ determinσ whethe≥ (1⌐ yo⌡ wisΦ t∩ includσ thσ ì
accoun⌠á number≤ iε thσ listinτ anΣ (2⌐ whethe≥ yo⌡ wisΦ t∩á lis⌠ ì
thσá filσ oε thσ printe≥ o≥ cr⌠ (ß "hardcopyó mean≤ ß listinτá oε ì
thσ printer).
Iµ yo⌡ selec⌠ t∩ lis⌠ thσ filσ oε thσ printer¼á thσ prograφá wil∞ ì
promp⌠á yo⌡á t∩ preparσ thσ printer¼á anΣ awai⌠ you≥á enterinτá ß ì
carriagσá returε beforσ transmittinτ thσ informatioε t∩ thσ prin-ì
ter«á Wheneve≥ thσ prograφ list≤ ß filσ oε thσ screen¼ NA─ inhi-ìè
3
bit≤ scrolling╗á afte≥ thσ screeε i≤ full¼á thσ prograφ wil∞ wai⌠ ì
fo≥ yo⌡ t∩ ente≥ ß carriagσ returε beforσ continuinτ thσ listing« ì
I⌠ wil∞ promp⌠ yo⌡ fo≥ thi≤ b∙ saying
ENTE╥ AN┘ LETTE╥ T╧ CONTINUE.
Thσá NA─á wil∞ exi⌠ t∩ thσ operatinτ systeφ (CP/M⌐á afte≥ ì
thσ listing¼á o≥ immediatel∙ iµ yo⌡ statσ tha⌠ yo⌡ d∩ no⌠ wan⌠á ß ì
listinτ oµ thσ file.
NA─ wa≤ writteε b∙ Craiτ Rudlin¼á M.D«á You≥ comment≤ anΣ ì
suggestion≤ arσ welcome║á 20▓ Overlooδ Road¼á Richmond¼ Virginiß ì
23229.
4