home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / a / armedit / !ARMEdit / !Run2 < prev    next >
Text File  |  1997-02-21  |  2KB  |  40 lines

  1. |   File        : !Run2
  2. |   Date        : 21-Feb-97
  3. |   Author      : © A.Thoukydides, 1996, 1997
  4. |   Description : The second part of the script used to start the ARMEdit
  5. |                 application. This ensures that all required modules are
  6. |                 loaded, and then starts the actual application.
  7.  
  8. | Check that there is sufficient memory to run
  9. WimpSlot -min 84K -max 84K
  10.  
  11. | Check that a !Scrap folder exists
  12. If "<Wimp$Scrap>"="" Then Error 0 Scrap folder could not be found. Please double-click on a copy of !Scrap and try again.
  13.  
  14. | Special care needs to be taken over the C library
  15. Set ARMEdit$CLibLoaded 1
  16. RMEnsure SharedCLibrary 0.00 Set ARMEdit$CLibLoaded 0
  17. If ARMEdit$CLibLoaded=1 Then RMEnsure SharedCLibrary 3.75 Error 0 You are already running a version of CLib which is too old. This application needs SharedCLibrary 3.75 or later.
  18. UnSet ARMEdit$CLibLoaded
  19.  
  20. | Ensure that the correct versions of modules are loaded
  21. Run <ARMEdit$Dir>.Ensure SharedCLibrary 3.75 CLib
  22. Run <ARMEdit$Dir>.Ensure FPEmulator     4.00 FPEmulator
  23. Run <ARMEdit$Dir>.Ensure MessageTrans   0.28 MsgTrans
  24. Run <ARMEdit$Dir>.Ensure ColourTrans    0.52 Colours
  25. Run <ARMEdit$Dir>.Ensure DCS            1.06 Toolbox.DCS_Quit
  26. Run <ARMEdit$Dir>.Ensure Iconbar        1.11 Toolbox.IconBar
  27. Run <ARMEdit$Dir>.Ensure Menu           0.22 Toolbox.Menu
  28. Run <ARMEdit$Dir>.Ensure ProgInfo       0.09 Toolbox.ProgInfo
  29. Run <ARMEdit$Dir>.Ensure SaveAs         0.10 Toolbox.SaveAs
  30. Run <ARMEdit$Dir>.Ensure Toolbox        1.33 Toolbox.Toolbox
  31. Run <ARMEdit$Dir>.Ensure Window         1.29 Toolbox.Window
  32.  
  33. | Load the latest version of the ARMEdit module
  34. RMEnsure ARMEdit 1.03 Run <ARMEdit$Dir>.ARMEdit
  35.  
  36. | Check again that there is sufficient memory to run
  37. WimpSlot -min 84K -max 84K
  38.  
  39. | Finally start the application
  40. Run <ARMEdit$Dir>.!RunImage