home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
mbug
/
mbug028.arc
/
CONVERT.DOC
< prev
next >
Wrap
Text File
|
1979-12-31
|
3KB
|
53 lines
CONVERT.BAS : A WORDBEE TO WORSTAR FILE CONVERTER
=================================================
Thi≤á shor⌠ MBASI├ prograφ i≤ thσ resul⌠ oµ ß reques⌠ b∙á severa∞ ì
Microbeσá Disδá Systeφá owners«á A≤ it≤ titlσ suggest≤ i⌠á i≤á ß ì
WORDBE┼ t∩ WORDSTA╥ filσ converter«á Thσ reasoε i⌠ i≤ writteε iε ì
MBASI├ iε preferencσ t∩ MicroworlΣ BASI├ i≤ tha⌠ thσ prograφá caε ì
be run directly from CP/M by typing;
A>MBASIC CONVERT
a⌠á thσ CP/═ promp⌠ ¿ A╛ )«á Thi≤ cause≤ MBASI├ t∩ bσ loadeΣ anΣ ì
CONVERT.BA╙á t∩á loaΣá anΣ theε run«á CONVER╘ caεá als∩á bσá ruε ì
directl∙á froφ WORDSTA╥ b∙ selectinτ ╥ (uε ß program⌐ a⌠ thσ maiε ì
menu«á Upoε doinτ s∩ yo⌡ arσ askeΣ fo≥ thσ commanΣ t∩ whicΦá yo⌡ ì
reply;
MBASIC CONVERT
Oncσá agaiε MBASI├ i≤ automatical∙ loadeΣ anΣ theε CONVERT.BA╙ i≤ ì
loadeΣá anΣ run«á Wheε thσ prograφ ha≤ finisheΣá processinτá yo⌡ ì
arσ askeΣ t∩ hi⌠ an∙ ke∙ t∩ returε t∩ WORDSTAR« Thi≤ return≤ yo⌡ ì
t∩á thσ openinτ men⌡ enablinτ yo⌡ t∩ theε loaΣ anΣ edi⌠ thσ newl∙ ì
converted file.
Oncσá CONVERT.BA╙á i≤ runninτ yo⌡ arσ askeΣ thσ filenamσá oµá thσ ì
filσ t∩ convert«á Iε responsσ t∩ thi≤ yo⌡ typσ thσ WORDBE┼á filσ ì
namσá WITHOU╘ TH┼ FIL┼ EXTENSIO╬ .WBF«á iσ TES╘ ║á iε thσ casσ oµ ì
TEST.WBF«á Yo⌡ arσ thσ askeΣ thσ namσ oµ thσ resultinτá WORDSTA╥ ì
file«á Oncσá again¼á DON'╘á INCLUD┼á TH┼ FIL┼á EXTENSIO╬á a≤á aε ì
extensioεá oµá .WS╞ (WordSta≥ File⌐ i≤ addeΣ automatical∙ b∙á thσ ì
program«á Hencσ i⌠ i≤ quitσ permissiblσ t∩ givσ thσ samσ namσá t∩ ì
botΦ files«á iσ ║á answerinτ botΦ oµ thσ question≤ witΦ TES╘ wil∞ ì
result in the file TEST.WBF being converted to TEST.WSF.
Oncσá thesσ question≤ havσ beeε answereΣ thσ prograφ wil∞ proceeΣ ì
witΦá thσá conversion«á Becausσá i⌠ read≤ anΣá write≤á onl∙á onσ ì
characte≥ froφ anΣ t∩ disπ a⌠ ß time¼á thσ prograφ take≤ ßá whilσ ì
t∩á execute¼á s∩ pleasσ don'⌠ paniπ wheε tryinτ t∩ conver⌠ ßá 60╦ ì
long file as it will take a while.
I⌠á i≤á hopeΣá ß .CO═ filσ versioε oµ thi≤ prograφ wil∞á sooεá bσ ì
writteε (iµ ╔ ge⌠ time⌐ hencσ aleviatinτ thσ neeΣ t∩ havσá MBASI├ ì
residinτá oε thσ disπ anΣ havinτ t∩ worδ viß that«á Thσá presen⌠ ì
prograφá caεá bσá improveΣ b∙ gettinτ i⌠ t∩ reaΣá morσá thaεá onσ ì
characte≥á a⌠á ß timσ froφ thσ file¼á iσ ║á usinτ ßá buffer¼á thσ ì
bigge≥ thσ better«á A≤ sucΦ ╔ encouragσ thσ hacker≤ amonτ yo⌡ t∩ ì
alte≥ it¼ rememberinτ oµ coursσ t∩ contributσ you≥ result≤ t∩ ou≥ ì
M.U.G.S.A. software library.
Ian D. Jolly, 21/5/84