home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 1 / ARM_CLUB_CD.iso / contents / education / a / modeller / !Modeller / !Run < prev    next >
Text File  |  1993-03-10  |  1KB  |  24 lines

  1. || Molecular Modeller - !Run
  2. || (C) 1992 David J. Miller
  3.  
  4. if "<System$Path>" = "" then Error 0 System resources cannot be found.  Locate a !System directory.
  5. if "<Wimp$Scrap>" = "" then Error 0 Temporary scrap directory can not be found.  Locate a !Scrap directory.
  6. Set MolecMod$Dir <Obey$Dir>
  7. IconSprites <MolecMod$Dir>.!Sprites
  8. RMEnsure FPEmulator 2.80 RMLoad System:Modules.FPEmulator
  9. RMEnsure FPEmulator 2.80 Error 1 You need at least version 2.80 of the FPEmulator - please update !System
  10. RMEnsure ColourTrans 0.52 RMLoad System:Modules.Colours
  11. RMEnsure ColourTrans 0.52 Error 1 You need at least version 0.52 of ColourTrans - please update !System
  12. RMEnsure MessageTrans 0.06 RMLoad System:Modules.MsgTrans
  13. RMEnsure MessageTrans 0.06 RMLoad <MolecMod$Dir>.Resources.MsgTrans
  14. RMEnsure MessageTrans 0.06 Error 1 You need at least version 0.06 of MessageTrans - please update !System
  15. RMEnsure Molecule 1.76 RMLoad <MolecMod$Dir>.MolecMod
  16. RMEnsure Molecule 1.76 Error 1 Sorry, MolecMod 1.76 or later is required
  17. Set File$Type_116 Molecule
  18. Set Alias$@RunType_116 Run <MolecMod$Dir>.!Run %%*0
  19. Set Alias$@RunType_113 Error 1 Molecular Animation Script files not yet implemented so unable to run %%*0
  20. Set Alias$@RunType_118 Error 1 Please load molecular modeller before clicking on %%*0
  21. Wimpslot -min 320K -max 320K
  22. Set molec$temp "%*0"
  23. Run <MolecMod$Dir>.!RunImage
  24.