home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / programming / wackytalky_2 / Developer / Examples / !Tools / !Run < prev    next >
Encoding:
Text File  |  1996-04-21  |  1.4 KB  |  46 lines

  1. | !Run file for !Tools.
  2.  
  3. Set WTExamples$Path <Obey$Dir>.^.
  4. Set WTExamples$Dir <Obey$Dir>.^
  5. Set Tools$Dir <Obey$Dir>
  6.  
  7. Iconsprites <Tools$dir>.!Sprites
  8.  
  9. | Check if !WT has been seen by the filer
  10. | the next line may corrupt Obey$Dir variable
  11. If "<WT$Path>" = "" Then /<Tools$Dir>.> /System:!WT.!Boot
  12. If "<WT$Path>" = "" Then Error "Please run !WTInstall to install Wacky-Talky"
  13.  
  14. | Load the manager
  15. RMEnsure Wacky-Talky 0.80 RMLoad WT:WackyTalky
  16. >/WT:!SetVars
  17.  
  18. | Ensure GLib
  19. If "<GLib$Path>"="" Then /WT:3rdParty.!GLib.!Run
  20.  
  21. | Set some usefull alaises.
  22. Set Alias$EnsureMod %IF "%%2"<>"" THEN WTEnsure %%0 %%1 WTLoad WTModules:%%*2 ELSE IF "%%1"="" THEN WTEnsure %%0 WTLoad WTModules:%%0 ELSE WTEnsure %%0 %>WTLoad WTModules:%%1{:}IF Err=214 THEN WTEnsure %%0 %%1 WTLoad WTModules:%%0{:}WTEnsure %%0 %%1
  23.  
  24. | Ensure a nice version of BASIC module for RO2 users! (Hello there!)
  25. RMEnsure BASICTrans 1.00 >RMReInit BASICTrans
  26. RMEnsure BASICTrans 1.00 RMLoad <Tools$Dir>.BASIC+
  27. RMEnsure BASIC 1.05 %>RMReInit BASIC
  28. RMEnsure BASIC 1.05 %RMLoad <Tools$Dir>.BASIC+
  29.  
  30. WTLoad WTModules:WT+
  31.  
  32. | Ensure that the following WT modules are loaded and load them if this
  33. | is not the case.
  34. >EnsureMod BError
  35. >EnsureMod FarAddress
  36. >EnsureMod LocalLabels LocalLabel
  37. >EnsureMod NiceSRTs
  38. >EnsureMod RunData
  39. >EnsureMod SquashInfo
  40. >EnsureMod WTasm
  41. >EnsureMod WTDLRs+
  42. >EnsureMod WTTokens
  43. >EnsureMod PrettyHelp
  44.  
  45. | Ensure Tokens
  46. >WTTokensEnsure WTService_0 >WTTokensLoad WTResources:WT_Tokens