Init-Interp.txt 676 B

12345678910111213141516171819202122232425262728
  1. MODULE Init;
  2. IMPORT
  3. LinConsole,
  4. HostFonts (* Fonts.SetHook; required for Texts *),
  5. HostWindows (* Windows.SetHook *),
  6. HostDates (* Dates.SetHook *),
  7. HostDialog (* Dialog.SetShowHook *),
  8. StdInterpreter, (* Dialog.SetCallHook *)
  9. StdDialog (* Views.SetViewHook *),
  10. (* StdLog, *)
  11. Converters (* .odc *),
  12. Dialog;
  13. PROCEDURE Init;
  14. VAR res: INTEGER;
  15. BEGIN
  16. (* StdLog.Open; *)
  17. Converters.Register("Documents.ImportDocument", "Documents.ExportDocument", "", "odc", {});
  18. (* Converters.Register("StdETHConv.ImportETHDoc", "", "TextViews.View", "eth", {Converters.importAll}); *)
  19. Dialog.Call("ConsInterp.Run", " ", res)
  20. END Init;
  21. BEGIN
  22. Init
  23. END Init.