home *** CD-ROM | disk | FTP | other *** search
- /*
- ** $VER: Menu_OpenNewFile.edge 1.1 (Sunday 08-Aug-93 02:50:56)
- **
- ** Open a new workfile and bring up the FileRequester so the
- ** user may select a file to load
- **
- ** Written by Thomas liljetoft
- */
-
-
- options results
-
- /* get the users error-report level */
-
- getenvvar _ge_errlevel
- errlevel = result
-
- /* open a new file*/
-
- 'new'
- if RC == 0 then do
- /* if succesfull, address the new window and call open */
-
- address value result
- 'open'
- end
-
- if RC >= errlevel then do
-
- /* something went wrong enough to be reported so report */
-
- 'fault'
- 'requestnotify' '"'result'"'
- end
-
- exit(0)
-