| > !MolWeight.!Run
|
| Run File for Molecular Weight
|
| by Chris Johnson
|
IconSprites <Obey$Dir>.!Sprites
|
| Find path to file
Set MolWeight$Dir <Obey$Dir>
|
set temp$flag 1
RMEnsure ABCLibrary 0 set temp$flag 0
RMensure ABCLibrary 4.13 if "<temp$flag>" = "1" Then Error 0 Old ABCLib installed Else RMLoad System:Modules.ABCLib
RMensure ABCLibrary 4.13 Error You need the ABClibrary ver 4.13 or later installed
|
set temp$flag 1
RMEnsure CJWimpUtil 0 set temp$flag 0
RMEnsure CJWimpUtil 0.25 if "<temp$flag>" = "1" Then Error 0 Old CJWimpUtil module installed Else RMLoad System:Modules.CJWimpUtil
RMEnsure CJWimpUtil 0.25 Error You need the CJWimpUtil module ver 0.25 or later installed
|
unset temp$flag
|
| Check memory allocation
WimpSlot -min 80K -max 80K
|
|
| Now start program
Run <MolWeight$Dir>.!RunImage
