| > !pH.!Run
|
| Run File for pH Curve demo
| 
| 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 pH$Dir <Obey$Dir>
|
| Follow PRM (4:497) advice and prevent multiple running
|
<pH$Dir>.TaskCheck pH
|
IconSprites <Obey$Dir>.!Sprites
|
| set the application system variables for new help system
|
Set pH$Help <pH$dir>.Documents.index/html
Set pH$Version "0.00"
Set pH$Web "http://www.chris-johnson.org/software/index.html"
Set pH$Title "pH curves"
Set pH$Publisher "Chris Johnson"
Set pH$Description "A demonstration of titration curves for weak acid/strong base"
|
RMEnsure Toolbox    0.00  RMLoad System:modules.toolbox.toolbox
RMEnsure Toolbox    1.36  ERROR pH needs Toolbox 1.36 or later
RMEnsure Window     0.00  RMLoad System:modules.toolbox.window
RMEnsure Window     1.31  ERROR pH needs Window 1.31 or later
RMEnsure Menu       0.00  RMLoad System:modules.toolbox.menu
RMEnsure Menu       0.23  ERROR pH needs Menu 0.23 or later
RMEnsure Iconbar    0.00  RMLoad System:modules.toolbox.iconbar
RMEnsure Iconbar    1.11  ERROR pH needs Iconbar 1.11 or later
RMEnsure ProgInfo   0.00  RMLoad System:modules.toolbox.proginfo
RMEnsure ProgInfo   0.05  ERROR pH needs ProgInfo 0.05 or later
RMEnsure SaveAs     0.00  RMLoad System:modules.toolbox.saveas
RMEnsure SaveAs     0.11  ERROR pH requires SaveAs 0.11 or later
RMEnsure FontMenu   0.21  RMLoad System:modules.toolbox.fontmenu
RMEnsure FontMenu   0.21  ERROR pH needs the FontMenu module 0.21 or later
RMEnsure ColourMenu 0.00  RMLoad System:modules.toolbox.colourmenu
RMEnsure ColourMenu 0.07  ERROR You need the ColourMenu module 0.17 or later
|
| Check memory allocation
WimpSlot -min 80K -max 80K
|
|
|
| Now start program
Run <pH$Dir>.!RunImage
