home *** CD-ROM | disk | FTP | other *** search
-
- /*
- ** $VER: LoadDic.edge 1.1 (Sunday 08-Aug-93 02:44:41)
- **
- ** Load the dictionary file selected by the user via the FileRequester
- **
- ** Written by Thomas liljetoft
- */
-
-
- options results
-
- /* get the users error-report level */
-
- getenvvar _ge_errlevel
- errlevel = result
-
- /* ask for the dictionary file */
-
- 'requestfile' title '"Load dictionary..."' path '"edgeprg:"' file '""' getdir
- if RC == 0 then do
-
- /* ok, loadit. */
-
- 'loaddictionary' '"'result'"' force
-
- end
-
- if RC >= errlevel then do
-
- /* something went wrong enought to be reported so report */
-
- 'fault'
- 'requestnotify' '"'result'"'
- end
-
- exit(0)
-
-