home *** CD-ROM | disk | FTP | other *** search
/ All About Planes & All About Handwriting / Topologika_AllAboutPlanesHandwriting.iso / extras / topodemos / mathsmania / _maniademo / _run < prev    next >
Text File  |  1994-12-28  |  811b  |  29 lines

  1. | Run file for MathMania
  2. | Set wimpslot to 544k
  3. WimpSlot -min 340K -max 340K
  4. IconSprites <Obey$Dir>.!Sprites
  5.  
  6. | Check not already loaded
  7. SET math$temp "loaded"
  8. RMEnsure SFX-1 0 SET math$temp "notloaded"
  9. IF math$temp="loaded" THEN ERROR 0 Mathmania is already loaded
  10.  
  11. | LOAD SOUND EFFECTS 
  12. RMEnsure SFX-1 0 <OBEY$DIR>.Sounds.SFX-1
  13. RMEnsure SFX-2 0 <OBEY$DIR>.Sounds.SFX-2
  14. RMEnsure SFX-3 0 <OBEY$DIR>.Sounds.SFX-3
  15. RMEnsure SFX-4 0 <OBEY$DIR>.Sounds.SFX-4
  16. RMEnsure SFX-5 0 <OBEY$DIR>.Sounds.SFX-5
  17. RMEnsure SFX-6áá 0 <OBEY$DIR>.Sounds.SFX-6áá
  18.  
  19. | Find RISCOS Version
  20. SetEval Riscos$Ver 300
  21. RMEnsure UtilityModule 3.10 SetEval Riscos$Ver 200
  22.  
  23. | Select appropriate template File
  24. Set Temp$Dir <Obey$Dir>.Template3D
  25. IF Riscos$ver=200 THEN SET Temp$Dir <Obey$Dir>.Template2D
  26.  
  27. | Run Mathmania
  28. Run <Obey$Dir>.!RunImage %*0
  29.