home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
17 Bit Software 4: Phase Four
/
17Bit_Phase_Four.iso
/
files
/
3257.dms
/
3257.adf
/
s
/
SetLastFax
< prev
next >
Wrap
Text File
|
1994-09-15
|
523b
|
21 lines
; Afax:s/SetLastFax
; Script sets local variable lastfax to name of last fax received
;
if exists FAXREC:.next
set num `type FAXREC:.next`
set num `eval $num - 1`
set lastfax FAXREC:FAX$num
if not exists $lastfax
set lastfax FAXREC:FAX0$num
if not exists $lastfax
set lastfax FAXREC:FAX00$num
if not exists $lastfax
set lastfax FAXREC:FAX000$num
if not exists $lastfax
unset lastfax
endif
endif
endif
endif
endif