home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / program / basic / eventshell / Examples / !SprView / !Run < prev    next >
Encoding:
Text File  |  1996-04-25  |  1.1 KB  |  26 lines

  1. | !Run Obey file for SprView Application
  2. RMensure UtilityModule 3.00 Error Sorry! SprView requires RISC OS 3 or later
  3. Set SprView$Dir <Obey$Dir>
  4. Set SprView$BasicFile <Obey$Dir>.!SprView
  5. IF "<EvntShell$Path>"="" THEN ERROR 0 Shell resources not found
  6. |Change the next line if you are using a different
  7. |filetype number
  8. |Set Alias$@RunType_200 Run <Obey$Dir>.!Run %%*0
  9. IconSprites <Obey$Dir>.!Sprites
  10. |Set Dummy$Path <Run$Path>,<Obey$Dir>.Resources.
  11. |Run Dummy:ResFind SprView
  12. |Unset Dummy$Path
  13. WimpSlot -min 512K -max 512K
  14. |Load any modules required now
  15. RMEnsure InterfaceManager 2.00 RMLoad <EvntShell$Path>Interface
  16. RMEnsure InterfaceManager 2.00 Error Couldn't load Interface module
  17. RMEnsure MenuUtils 0.11 RMLoad <EvntShell$Path>MenuUtils
  18. RMEnsure MenuUtils 0.11 Error 0 Error Couldn't load MenuUtils Module
  19. RMEnsure MessageTrans 0.06 RMLoad <EvntShell$Path>MsgTrans
  20. RMEnsure MessageTrans 0.06 Error Couldn't load MsgTrans Module
  21. RMEnsure DrawFile 1.30 RMLoad <EvntShell$Path>DrawFile
  22. RMEnsure DrawFile 1.30 Error Couldn't load DrawFile Module
  23. |And check that there is still enough memory!
  24. WimpSlot -min 512K -max 512K
  25. Run <SprView$Dir>.!SprView %*0
  26.