home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
CPM
/
PROGRAMS
/
WSTAR
/
MAILMRGE.DOC
< prev
next >
Wrap
Text File
|
2000-06-30
|
6KB
|
171 lines
.ig * * * * * * *
.ig
.ig This is a WordStar File
.ig
.ig If you don't have WordStar,
.ig I'm sure you're not interested.
.ig
.ig * * * * * * *
.pn1
.he MailMerge Documentation In Brief Page #.
.op
M a i l M e r g e
-----------------
I n B r i e f
Learninτ t∩ ruε MailMergσ isn'⌠ quitσ a≤ mucΦ fuε a≤ takinτ ì
you≥ operatinτ systeφ apar⌠ -- bu⌠ jus⌠ a≤ difficultí Iε m∙ ì
opinion¼ that'≤ becausσ i⌠ wa≤ writteε abou⌠ thσ samσ timσ thσ ì
phrasσ "Use≥ Friendlyó wa≤ coined« So¼ insteaΣ oµ usinτ thosσ ì
"intimidatinτ compute≥ words,ó the∙ madσ u≡ thei≥ own« Tha⌠ way¼ ì
no one can figure out what's going on.
That'≤ thσ wors⌠ oµ it« Fac⌠ is¼ it'≤ al∞ REA╠ easy« (It'≤ ì
ONLY aε application≤ program...fo≥ God'≤ sake!⌐
Here'≤ al∞ yo⌡ havσ t∩ d∩ t∩ prin⌠ ß forφ lette≥ froφ ß ì
mailing list:
Namσ you'rσ Forφ Lette≥ o≥ Boile≥ Platσ a≤ .MI╠ typσ file« ì
You≥ mailinτ lis⌠ shoulΣ bσ ß .LS╘ typσ file« Othe≥ type≤ ì
probabl∙ work¼ bu⌠ that'≤ thσ wa∙ ╔ learneΣ anΣ I'vσ neve≥ trieΣ ì
it any other way.
Put these Dot Commands at the top of your .MIL file.
* .DF B:FORMAT.LST
.RV COMPANY,ADDRESS,CITYSTATE,ZIP
The "Inside Address" Is formatted this way:
&COMPANY/O&
&ADDRESS/O&
&CITYSTATE/O& &ZIP/O&
Your "Greeting" goes like this:
(Covers all sexes, too)
Dear &MX/O& &LAST/O&:
Then¼ makσ u≡ ß datß file« I⌠ shoulΣ bσ calleΣ format.LS╘ ì
(Matchinτ thσ namσ specifieΣ iε thσ .D╞ statemen⌠ yo⌡ wrotσ int∩ ì
you≥ .MI╠ file)« It'≤ reall∙ ß BASI├ sequentia∞ datß file« Bu⌠ ì
al∞ yo⌡ reall∙ neeΣ t∩ kno≈ i≤ tha⌠ every item iε thσ filσ mus⌠ ìè
be separated by commas.
Two more rules:
Iµ yo⌡ wan⌠ t∩ ski≡ aε item¼ fil∞ it≤ spacσ witΦ ß ì
comma. (ie. skipped names look like ,,, )
If you want a comma to print inside a phrase, you
must put the phrase in quotes. (ie. "Los Angeles, CA")
[Values for the variables used in the
Greeting example are not found in the
Mailing list (LST) File. ]
Here's how a typical .LST file looks:
"Thσ Codσ Works¼ Inc.",P.O« Bo° 550,"Goleta¼ CA"¼ 93116
"Ecosoft, Inc.",P.O. Box 68602,"Indianapolis, IN", 46268
Lifeboat Associates,1651 Third Avenue,"New York, NY",10028
Manx Software Systems,P.O. Box 55,"Shrewsbury, NJ", 07701
Softwarσ Toolworks,1447╕ Gloriettß Dr.,"Shermaε Oaks,CA",9142│
Supersoft,P.O. Box 1628,"Champaign,IL",61820
tiny-C Associates,P.O. Box 269,Holmdel,NJ,07733
Telcon Systems,1155 Meridian Ave.,"San Jose,CA",95125
"Whitesmiths,Ltd.","Parkwa∙ Towers,'B'",U╙ Routσ ▒ ì
So.,"Iselin,NJ",0883░
"DedicateΣ Micr∩ Systems¼ Inc.",P.O« Bo° 287,"Yate≤ ì
Center,KS",66783
** Soft carriage returns are okay, but hard ones aren't.
B∙ thσ way¼ thσ 'Osº wσ pu⌠ int∩ ou≥ variable≤ iε thσ .MI╠ ì
filσ wil∞ cove≥ u≤ wheε wσ don'⌠ havσ value≤ fo≥ ou≥ variables«
╬ ∩ w¼ makσ surσ yo⌡ havσ ß cop∙ oµ MAILMRGE.OV╥ available╗ ì
Cal∞ WordStar¼ anΣ a⌠ thσ N∩ Filσ Menu¼ jus⌠ typσ ═ «
MailMergσ wil∞ signoε anΣ asδ yo⌡ fo≥ thσ filσ yo⌡ wisΦ t∩ ì
merge« Givσ i⌠ you≥ Form¼ Boile≥ Platσ o≥ .MI╠ file« It'l∞ d∩ ì
the rest.
* * * MORE DOTS * * *
Here are a few more Dot Commands to master:
.D╞ filenamσ [CHANGE▌ Define≤ thσ Filσ thσ datß filσ ì
t∩ bσ used« CHANGE¼ specifie≤
ß disδ change.è
.R╓ variable1¼ variable2¼ ReaΣ thesσ Variables║ variable1...
.RP [n] Repeat:
ε time≤ o≥ (default⌐ unti∞ datß filσ
exhausted« Par⌠ oµ D╞ statement╗
Needed only if inserted document
is to be repeated.
.AV ["Prompt"], variable, [length]
Asδ Operato≥ fo≥ Variablσ Value.
ie« "ge⌠ ß numbe≥ froφ thσ operatoró
(Compute≥ want≤ t∩ ge⌠ high).
Likσ BASIC'≤ "INPUTó Statement,
bu⌠ yo⌡ givσ lengtΦ ("Field?").
.D═ [message▌ CoulΣ stanΣ fo≥ DeaΣ Moose¼ but
mean≤ Displa∙ Message« Default
is a blank line.
.CS [message] Wipe windshield (Clear Screen)
and display message.
.FI filename [CHANGE] Gobble up the FIle filename.
Don't know what the option
is all about. ì
There'≤ als∩ somσ othe≥ stufµ abou⌠ Print-Timσ formattinτ ì
whicΦ I'φ surσ i≤ rea∞ important¼ bu⌠ a≤ oµ thi≤ writing¼ ╔ don'⌠ ì
havσ thσ damnedes⌠ ideß about« Seσ Appendi° ┴ (A-╢ thr⌡ A-9⌐ oµ ì
the WordStar Manual for morσ details.
¬ -- Do⌠ Command≤ MUS╘ bσ writteε int∩ thσ FIRS╘ Columε iε orde≥ ì
t∩ bσ effective« Iε thσ abovσ examples¼ the∙ havσ beeε ì
indented so that they may be seen. If they had been placed
in the correct position, they would have caused changes in
the runtime behavior of the program, rather than been part
of this text. (Of course I could have stayed up all night
and figured out a way around this, but hey, that's the way
MicroPro did it in their manual, too!)
Iµ anybod∙ figure≤ ou⌠ anythinτ elsσ abou⌠ ho≈ thi≤ prograφ ì
operates, please add it on here. I'm as curious as the rest.
6/25/84 db