home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 1 / ARM_CLUB_CD.iso / contents / comdemos / progs / pipedream3 / !PipeDream / !Run < prev    next >
Encoding:
Text File  |  1990-09-12  |  1.6 KB  |  50 lines

  1. | Run file for PipeDream
  2. |
  3. | PipeDream 3.12 (05-Sep-90)
  4. |
  5. Set PipeDream$Dir <Obey$Dir>
  6. |
  7. IconSprites <PipeDream$Dir>.!Sprites
  8. |
  9. | Set up file types
  10. |
  11. SetMacro Alias$@RunType_DDE   Run <PipeDream$Dir>.!Run %%*0
  12. SetMacro Alias$@PrintType_DDE Run <PipeDream$Dir>.!Run -Print %%*0
  13. Set File$Type_DDE PDream
  14. SetMacro Alias$@RunType_D21   Run <PipeDream$Dir>.!Run -Macro %%*0
  15. Set File$Type_D21 PDMacro
  16. |
  17. | Ensure we have FPEmulator
  18. |
  19. RMEnsure FPEmulator 2.70 If "<System$Path>" = "" then Error 0 System resources cannot be found
  20. RMEnsure FPEmulator 2.70 RMLoad System:Modules.FPEmulator
  21. RMEnsure FPEmulator 2.70 Error You need FPEmulator 2.70 or later
  22. |
  23. | Ensure we have ColourTrans
  24. |
  25. RMEnsure ColourTrans 0.51 If "<System$Path>" = "" then Error 0 System resources cannot be found
  26. RMEnsure ColourTrans 0.51 RMLoad System:Modules.Colours
  27. RMEnsure ColourTrans 0.51 Error You need ColourTrans 0.51 or later
  28. |
  29. | Ensure we have the shared C library and determine its vintage
  30. |
  31. Set PipeDream$CLibLoaded 1
  32. RMEnsure SharedCLibrary 0.00 Set PipeDream$CLibLoaded 0
  33. If PipeDream$CLibLoaded=0 then If "<System$Path>" = "" then Error 0 System resources cannot be found
  34. If PipeDream$CLibLoaded=0 then RMLoad System:Modules.CLib
  35. RMEnsure SharedCLibrary 3.50 Error You need SharedCLibrary 3.50 or later
  36. Set PipeDream$NewCLib 1
  37. RMEnsure SharedCLibrary 3.65 Set PipeDream$NewCLib 0
  38. Unset PipeDream$CLibLoaded
  39. |
  40. If "<PipeDream$Path>" = "" then Obey <PipeDream$Dir>.!Path
  41. |
  42. | Allocate fixed memory for documents
  43. |
  44. WimpSlot -min 464k -max 464k
  45. WimpSlot -min 432k -max 432k
  46. |
  47. | Go, Go, Go
  48. |
  49. Run <PipeDream$Dir>.!RunImage <PipeDream$Dir>.^.Documents.DemoReadMe %*0
  50.