home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
037.lha
/
DU
/
MyStart.def
< prev
next >
Wrap
Text File
|
1987-05-16
|
624b
|
35 lines
DEFINITION MODULE MyStart;
FROM DOSFiles IMPORT FileHandle;
VAR
InitialInput,
InitialOutput : FileHandle;
(*
This module has DOSBase open and close in the two procedures.
If you use one, use the other! and don't worry about DOSBase
*)
PROCEDURE EnteredFromWorkbench():BOOLEAN;
(*
Sets up for either CLI or WB RETURNS TRUE IF WB
Sets variables above to a valid window to use
and sets up console handler info if from WB
*)
PROCEDURE CleanUpAndExit;
(*
Cleans up after the above
ALSO CLOSES DOSBASE and window if opened above.
SHOULD BE LAST CALL IN A PROGRAM
*)
END MyStart.