home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / utilities / utilsd / display / !Display / !Run < prev    next >
Text File  |  1994-08-30  |  874b  |  36 lines

  1. |
  2. | !Run file for Display version 0.00
  3. |
  4.  
  5. RMEnsure UtilityModule 3.10 Error 0 I can't be bothered to make Display work with old versions of RISC OS!  UPGRADE!
  6.  
  7.  
  8. | Set directory variable, install icon sprites...
  9. |
  10. Set Display$Dir <Obey$Dir>
  11. IconSprites <Display$Dir>.!Sprites
  12. |
  13. | Set up file types and actions...
  14. |
  15. Set File$Type_7DC HelpFile
  16. |
  17. | Load ColourTrans and MessageTrans (As far as I know, the versions don't
  18. | matter) ...
  19. |
  20. If "<System$Path>"="" then Error 0 System resources not found.
  21. RMEnsure ColourTrans 0.00 RMLoad system:Modules.Colours
  22. RMEnsure MessageTrans 0.00 RMLoad system:Modules.MsgTrans
  23. |
  24. | Load WinSupport
  25. |
  26. RMEnsure WinSupport 1.04 RMLoad system:Modules.WinSup
  27. |
  28. | Load built-in modules...
  29. |
  30. RMEnsure MenuManager 2.13 RMLoad <Display$Dir>.MenuMod
  31. |
  32. | and finally load the program proper.
  33. |
  34. WimpSlot -min 96K -max 96K
  35. Run <Display$Dir>.!RunImage %*0
  36.