home *** CD-ROM | disk | FTP | other *** search
Modula Definition | 1987-05-17 | 624 b | 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.
-
-
-