| Description : The second part of the script used to start the ARMEdit
| application. This ensures that all required modules are
| loaded, and then starts the actual application.
| Check that there is sufficient memory to run
WimpSlot -min 84K -max 84K
| Check that a !Scrap folder exists
If "<Wimp$Scrap>"="" Then Error 0 Scrap folder could not be found. Please double-click on a copy of !Scrap and try again.
| Special care needs to be taken over the C library
Set ARMEdit$CLibLoaded 1
RMEnsure SharedCLibrary 0.00 Set ARMEdit$CLibLoaded 0
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.
UnSet ARMEdit$CLibLoaded
| Ensure that the correct versions of modules are loaded
Run <ARMEdit$Dir>.Ensure SharedCLibrary 3.75 CLib
Run <ARMEdit$Dir>.Ensure FPEmulator 4.00 FPEmulator
Run <ARMEdit$Dir>.Ensure MessageTrans 0.28 MsgTrans
Run <ARMEdit$Dir>.Ensure ColourTrans 0.52 Colours
Run <ARMEdit$Dir>.Ensure DCS 1.06 Toolbox.DCS_Quit
Run <ARMEdit$Dir>.Ensure Iconbar 1.11 Toolbox.IconBar
Run <ARMEdit$Dir>.Ensure Menu 0.22 Toolbox.Menu
Run <ARMEdit$Dir>.Ensure ProgInfo 0.09 Toolbox.ProgInfo
Run <ARMEdit$Dir>.Ensure SaveAs 0.10 Toolbox.SaveAs
Run <ARMEdit$Dir>.Ensure Toolbox 1.33 Toolbox.Toolbox
Run <ARMEdit$Dir>.Ensure Window 1.29 Toolbox.Window
| Load the latest version of the ARMEdit module
RMEnsure ARMEdit 1.03 Run <ARMEdit$Dir>.ARMEdit
| Check again that there is sufficient memory to run