| > !UnitConv.!Run
|
| Run File for unit conversion
| 
| by Chris Johnson
|
RMEnsure UtilityModule 3.10 Error This application is only suitable for use with RISC OS 3.10 or later versions
|
|
| Find path to file
Set UnitConv$Dir <Obey$Dir>
|
IconSprites <UnitConv$Dir>.!Sprites
|
Run <UnitConv$Dir>.Resources.Resfind UnitConv
|
RMEnsure SharedCLibrary 5.17 RMLoad System:Modules.CLib
RMEnsure SharedCLibrary 5.34 Error This application requires SharedCLibrary 5.34 or later
|
RMEnsure Toolbox    1.41  RMLoad System:modules.toolbox.toolbox
RMEnsure Toolbox    1.41  ERROR You need the Toolbox module 1.41 to run UnitConv
RMEnsure Window     1.47  RMLoad System:modules.toolbox.window
RMEnsure Window     1.47  ERROR You need the Window module 1.47 to run UnitConv
RMEnsure Menu       0.32  RMLoad System:modules.toolbox.menu
RMEnsure Menu       0.32  ERROR You need the Menu module 0.32 to run UnitConv
RMEnsure Iconbar    1.18  RMLoad System:modules.toolbox.iconbar
RMEnsure Iconbar    1.18  ERROR You need the Iconbar module 1.18 to run UnitConv
RMEnsure ProgInfo   0.14  RMLoad System:modules.toolbox.proginfo
RMEnsure ProgInfo   0.14  ERROR You need the ProgInfo module 0.14 to run UnitConv
RMEnsure SaveAs     0.15  RMLoad System:modules.toolbox.saveas
RMEnsure SaveAs     0.15  ERROR You need the SaveAs module 0.15 to run UnitConv

|
| Check memory allocation
WimpSlot -min 96K -max 96K
|
| Now start program
Run <UnitConv$Dir>.!RunImage
