home *** CD-ROM | disk | FTP | other *** search
- | > !GraphDraw.!Run
- |
- | Run file for GraphDraw
- |
- | by Chris Johnson
- |
- IconSprites <Obey$Dir>.!Sprites
- Set Alias$@RunType_7F3 /<Obey$Dir>.!Run %%*0
- Set File$Type_7F3 GraphFile
- |
- | Find path to file
- Set GraphDraw$Dir <Obey$Dir>
- |
- If "<Font$Prefix>"="" Then Error You need to double click on !Fonts before running this application
- |
- 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 the floating point emulator installed
- |
- 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
- |
- 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
- |
- set temp$flag 1
- RMEnsure CJwimpLib 0 set temp$flag 0
- RMEnsure CJwimpLib 0.21 if "<temp$flag>" = "1" Then Error 0 Old CJwimpLib installed Else RMLoad <Obey$Dir>.modules.cjwimplib
- RMEnsure CJwimpLib 0.21 Error You need the CJwimpLib module installed
- unset temp$flag
- |
- | Check memory allocation
- WimpSlot -min 256K -max 256K
- |
- | Now start program
- Run <GraphDraw$Dir>.!RunImage %*0
-