home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / education / chartdraw / !ChartDraw / !Run < prev    next >
Text File  |  1992-03-20  |  1KB  |  43 lines

  1. | > !ChartDraw.!Run
  2. |
  3. | Run file for ChartDraw
  4. |
  5. | by Chris Johnson
  6. |
  7. IconSprites <Obey$Dir>.!Sprites
  8. Set File$Type_7F1 ChartFile
  9. Set Alias$@RunType_7F1 /<Obey$Dir>.!Run %%*0
  10. |
  11. | Find path to file
  12. Set ChartDraw$Dir <Obey$Dir>
  13. |
  14. RMEnsure ColourTrans 0.51 RMLoad System:Modules.Colours
  15. RMEnsure ColourTrans 0.51 Error You need ColourTrans 0.51 or later
  16. |
  17. RMensure FPEmulator 0 RMLoad System:modules.FPEmulator
  18. RMensure FPEmulator 0 Error You need to install the floating point emulator
  19. |
  20. RMEnsure MessageTrans 0.06 RMLoad <Obey$Dir>.Modules.MsgTrans
  21. RMEnsure MessageTrans 0.06 Error You need MsgTrans 0.06 or later
  22. |
  23. set temp$flag 1
  24. RMEnsure ABCLibrary 0 set temp$flag 0
  25. RMensure ABCLibrary 4.00 if "<temp$flag>" = "1" Then Error 0 Old ABCLib installed Else RMLoad <Obey$Dir>.modules.ABCLib
  26. RMensure ABCLibrary 4.00 Error You need the ABClibrary ver 4.00 or later installed
  27. unset temp$flag
  28. |
  29. RMensure FontMenu 0 RMLoad <Obey$Dir>.modules.FontMenu
  30. RMensure FontMenu 0 Error You need the FontMenu module installed
  31. |
  32. RMensure InterfaceManager 1.20 RMLoad <Obey$Dir>.modules.Interface
  33. RMensure InterfaceManager 1.20 Error You need the Interface module installed
  34. |
  35. RMEnsure CJwimpLib 0.21 RMLoad <Obey$Dir>.modules.cjwimplib
  36. RMEnsure CJwimpLib 0.21 Error You need the CJwimpLib module (0.21 or later) installed
  37. |
  38. | Check memory allocation
  39. WimpSlot -min 160K -max 160K
  40. |
  41. | Now start program
  42. Run <ChartDraw$Dir>.!RunImage %*0
  43.