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
/
MBUG
/
MBUG105.ARC
/
CMOUSE.LQR
/
PRNTMOUS.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1979-12-31
|
2KB
|
55 lines
SET PRINT ON
SET CONSOLE OFF
STORE CHR(13) TO CAR:RET
STORE CHR(10) TO LINE:FEED
STORE " " TO SPACES
STORE " " TO SPACEA
?? TRIM(FIRST:NAME)+' '+TRIM(LAST:NAME)
? TRIM(FRST:NAME2)+' '+TRIM(LST:NAME2)
? STREET+CAR:RET
?? SPACES+"BIRTHDATE "+$(BIRTHDAY,1,2)+"/"+$(BIRTHDAY,3,2)
? TRIM(CITY)+', '+STATE+' '+ZIP+CAR:RET
?? SPACES+"ZONE "+ZONE
? "HOME PHONE "
?? "("+$(HOME:PHONE,1,3)+") "+$(HOME:PHONE,4,3)+;
"-"+$(HOME:PHONE,7,4)+CAR:RET
?? SPACES+"DATE JOINED "+$(MEMBER,1,2)+"/"+$(MEMBER,3,2)
? "WORK PHONE "
?? "("+$(BUS:PHONE,1,3)+") "+$(BUS:PHONE,4,3)+;
"-"+$(BUS:PHONE,7,4)+CAR:RET
?? SPACES+"ANNIVERSARY "+$(ANNVRSRY,1,2)+"/"+$(ANNVRSRY,3,2)
? CHR(13)
? "CMNTS "+COMMENTS
?? CHR(13)
? "NOTES "+NOTES
?? CHR(13)
? "SP IN "+SPEC:INTST
?
? "DEAR "+SALUT1+CAR:RET
?? SPACEA+"DEAR (2) "+SALUT2
* Extra code here because of a problem observed with Ver. 2.4
STORE ".F." TO PARTNER1
STORE ".F." TO MAILING11
STORE ".F." TO MAILING21
IF PARTNER
STORE ".T." TO PARTNER1
ENDIF
IF MAILING1
STORE ".T." TO MAILING11
ENDIF
IF MAILING2
STORE ".T." TO MAILING21
ENDIF
? "PARTNER "+PARTNER1+" MAILING1 "+MAILING11+" MAILING2 "+MAILING21
? "FIRST VISIT "+$(VISIT1,1,2)+"/"+$(VISIT1,3,2)+"/"+$(VISIT1,5,2)+CAR:RET
?? SPACES+"2D VISIT "+$(VISIT2,1,2)+"/"+$(VISIT2,3,2)+"/"+$(VISIT2,5,2)
? CAR:RET+LINE:FEED
?
?
?
RELEASE CAR:RET, LINE:FEED, SPACES, SPACEA
SET PRINT OFF
SET CONSOLE ON
RETURN