1234567891011121314151617181920212223242526272829 |
- MODULE Init;
- IMPORT
- HostConsole, (* Console.SetHook *)
- HostFonts (* Fonts.SetHook; required for Texts *),
- HostWindows (* Windows.SetHook *),
- HostDates (* Dates.SetHook *),
- HostDialog (* Dialog.SetShowHook *),
- StdInterpreter, (* Dialog.SetCallHook *)
- StdDialog (* Views.SetViewHook *),
- StdLog, ConsLog, (* Log.Hook *)
- Converters (* .odc *),
- Dialog;
- PROCEDURE Init;
- VAR res: INTEGER;
- BEGIN
- (* StdLog.Open; *)
- Converters.Register("Documents.ImportDocument", "Documents.ExportDocument", "", "odc", {});
- (* Converters.Register("StdETHConv.ImportETHDoc", "", "TextViews.View", "eth", {Converters.importAll}); *)
- Dialog.Call("ConsInterp.Run", " ", res)
- END Init;
- BEGIN
- Init
- END Init.
|