home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
c
/
chkprn2.zip
/
SETDEST_.CLA
< prev
next >
Wrap
Text File
|
1992-01-31
|
641b
|
30 lines
MEMBER !DPP_NO_OPEN
SetDest_ PROCEDURE(Dest_)
Dest_ BYTE
CODE
CASE Dest_
OF eToPrinter; InitPC_Prn_
IF NOT Mem:Device
Mem:Device = 'PRN'
.
OF eToScreen; InitPC_View_
IF NOT Mem:Device
Mem:Device = RandomFile_()
.
OF eToDisk; InitPC_Disk_
IF NOT Mem:Device
PauseMsg_('Filename missing from Mem:Device',, |
eBeepOn,sErrMsgFHue,sErrMsgBHue)
GoDOS(1)
.
ELSE PauseMsg_('Invalid call to SetDest_()',, |
eBeepOn,sErrMsgFHue,sErrMsgBHue)
GoDOS(1)
.
Quit ROUTINE
RETURN
EJECT