home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / i / icon / !icont / !RUN < prev    next >
Text File  |  1993-04-16  |  932b  |  30 lines

  1. | > !Run
  2. |
  3. IconSprites <Obey$Dir>.!Sprites
  4. Set icont$Dir <Obey$Dir>
  5. |
  6. | Set directory of the compiler: default the !icont directory
  7. | In that case you must install the compiler there !!!!
  8. | YOU CAN CHANGE THIS !
  9. |
  10. |
  11. | Ensure we have FPEmulator
  12. |
  13. If "<System$Path>" = "" then Error 0 System resources cannot be found
  14. RMEnsure FPEmulator 2.80 RMLoad System:Modules.FPEmulator
  15. RMEnsure FPEmulator 2.80 Error You need FPEmulator 2.80 or later
  16. |
  17. | Ensure we have CLib
  18. |
  19. Set clib$flag 0
  20. RMensure SharedClibrary 3.50 set clib$flag 1
  21. RMensure SharedClibrary 0 set clib$flag 0
  22. If "<clib$flag>"="1" then Error !!! Old shared C library !!! An old version of the shared C library (clib) is resident in memory. See page 44-45 of the Acorn C manual.
  23. Unset clib$flag
  24. RMensure SharedClibrary 3.50 RMLoad System:modules.CLib
  25. RMensure SharedClibrary 3.50 Error You need CLib 3.50 or later
  26. |
  27. |
  28. WimpSlot -min 32k -max 32k
  29. Run <icont$Dir>.!Runimage %*0
  30.