home *** CD-ROM | disk | FTP | other *** search
- | > !ChartDraw.!Run
- |
- | Run file for ChartDraw
- |
- | by Chris Johnson
- |
- IconSprites <Obey$Dir>.!Sprites
- Set File$Type_7F1 ChartFile
- Set Alias$@RunType_7F1 /<Obey$Dir>.!Run %%*0
- |
- | Find path to file
- Set ChartDraw$Dir <Obey$Dir>
- |
- RMEnsure ColourTrans 0.51 RMLoad System:Modules.Colours
- RMEnsure ColourTrans 0.51 Error You need ColourTrans 0.51 or later
- |
- RMensure FPEmulator 0 RMLoad System:modules.FPEmulator
- RMensure FPEmulator 0 Error You need to install the floating point emulator
- |
- RMEnsure MessageTrans 0.06 RMLoad <Obey$Dir>.Modules.MsgTrans
- RMEnsure MessageTrans 0.06 Error You need MsgTrans 0.06 or later
- |
- 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>.modules.ABCLib
- RMensure ABCLibrary 4.00 Error You need the ABClibrary ver 4.00 or later installed
- unset temp$flag
- |
- RMensure FontMenu 0 RMLoad <Obey$Dir>.modules.FontMenu
- RMensure FontMenu 0 Error You need the FontMenu module installed
- |
- RMensure InterfaceManager 1.20 RMLoad <Obey$Dir>.modules.Interface
- RMensure InterfaceManager 1.20 Error You need the Interface module installed
- |
- RMEnsure CJwimpLib 0.21 RMLoad <Obey$Dir>.modules.cjwimplib
- RMEnsure CJwimpLib 0.21 Error You need the CJwimpLib module (0.21 or later) installed
- |
- | Check memory allocation
- WimpSlot -min 160K -max 160K
- |
- | Now start program
- Run <ChartDraw$Dir>.!RunImage %*0
-