home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 55
/
Amiga_Dream_55.iso
/
RISCOS
/
APPS
/
SCI
/
MATH
/
CHARTD.ZIP
/
ChartDraw
/
!ChartDraw
/
!Run
< prev
next >
Wrap
Text File
|
1996-05-15
|
1KB
|
43 lines
| > !ChartDraw.!Run
|
| Run file for ChartDraw
|
| by Chris Johnson
|
RMEnsure UtilityModule 3.10 Error This application is only suitable for use with RISC OS 3.10 or later versions
|
If "<ChartDraw$Running>" = "yes" Then Error ChartDraw is already running
|
IconSprites <Obey$Dir>.!Sprites
Set File$Type_7F1 ChartFile
Set Alias$@RunType_7F1 /<Obey$Dir>.!Run %%*0
|
| Check memory allocation
WimpSlot -min 192K -max 192K
|
| Find path to file
Set ChartDraw$Dir <Obey$Dir>
|
set temp$flag 1
RMEnsure ABCLibrary 0 set temp$flag 0
RMensure ABCLibrary 4.00 if "<temp$flag>" = "1" Then Error 0 Old ABCLib installed Else RMLoad <Obey$Dir>.ABCLib
RMensure ABCLibrary 4.00 Error You need the ABClibrary ver 4.00 or later installed
unset temp$flag
|
set temp$flag 1
RMEnsure CJWimpUtil 0 set temp$flag 0
RMEnsure CJWimpUtil 0.17 if "<temp$flag>" = "1" Then Error 0 Old CJWimpUtil module installed Else RMLoad <Obey$Dir>.cjWimpUtil
RMEnsure CJWimpUtil 0.17 Error You need the CJWimpUtil module installed
|
set temp$flag 1
RMEnsure CJdrawUtil 0 set temp$flag 0
RMEnsure CJdrawUtil 0.15 if "<temp$flag>" = "1" Then Error 0 Old CJdrawUtil installed Else RMLoad <Obey$Dir>.cjdrawUtil
RMEnsure CJdrawUtil 0.15 Error You need the CJdrawUtil module installed
unset temp$flag
|
| Check memory allocation
WimpSlot -min 176K -max 176K
|
| Now start program
Run <ChartDraw$Dir>.!Runimage %*0