|
| Run file for Wordz
|
Set      Wordz$Dir      <Obey$Dir>
Set      Wordz$ImageDir <Wordz$Dir>
SetMacro Wordz$Path     <Wordz$UserPath><Wordz$Dir>.User.,<Wordz$Dir>.Resource.<Wordz$EndPath>
|
IconSprites <Wordz$ImageDir>.!Sprites
|
Set File$Type_BDF Firewrkz
|
Set File$Type_BE0 Recordz
|
Set File$Type_BE1 Resultz
|
Set File$Type_C1C Wordz
SetMacro Alias$@RunType_C1C   Run <Wordz$Dir>.!Run %%*0
SetMacro Alias$@PrintType_C1C Run <Wordz$Dir>.!Run -Print %%*0
|
Set File$Type_C1D FwrkzTem
SetMacro Alias$@RunType_C1D   Run <Wordz$Dir>.!Run -Template %%*0
SetMacro Alias$@PrintType_C1D Run <Wordz$Dir>.!Run -oPrint %%*0
|
Set File$Type_C1E FwrkzCmd
SetMacro Alias$@RunType_C1E   Run <Wordz$Dir>.!Run -Command %%*0
|
If "<File$Type_C32>"="" then Set File$Type_C32 RTF
If "<File$Type_DB0>"="" then Set File$Type_DB0 LotusWK1
If "<File$Type_DFE>"="" then Set File$Type_DFE CSV
|
SetEval Wordz$HasDOSFS 1
RMEnsure DOSFS 0.43 SetEval Wordz$HasDOSFS 0
If Wordz$HasDOSFS=1 then DOSMap TXT &FFF
If Wordz$HasDOSFS=1 then DOSMap RTF &C32
| If Wordz$HasDOSFS=1 then DOSMap WK1 &DB0 - doesn't accept numbers!
If Wordz$HasDOSFS=1 then DOSMap CSV &DFE
Unset Wordz$HasDOSFS
|
RMEnsure FontManager 2.42 Error 0 Wordz needs Outline FontManager 2.42 or later
|
RMEnsure Squash 0.00 If "<System$Path>"="" then Error 0 Unable to locate your System directory. Please use StartWordz on the Examples disc
RMEnsure Squash 0.00 RMLoad System:Modules.Squash
|
RMEnsure ColourTrans 0.52 If "<System$Path>"="" then Error 0 Unable to locate your System directory. Please use StartWordz on the Examples disc
RMEnsure ColourTrans 0.52 RMLoad System:Modules.Colours
RMEnsure ColourTrans 0.52 Error 0 The version of ColourTrans installed in your !System is too old. Wordz needs ColourTrans 0.52 or later
|
WimpSlot -min 32K -max 32K
Run Wordz:Loader -image <Wordz$ImageDir>.Resource.!Sprite
|
Set Wordz$CLibLoaded 1
RMEnsure SharedCLibrary 0.00 Set Wordz$CLibLoaded 0
If Wordz$CLibLoaded=0 then If "<System$Path>"="" then Error 0 Unable to locate your System directory. Please use StartWordz on the Examples disc
If Wordz$CLibLoaded=0 then RMLoad System:Modules.CLib
If Wordz$CLibLoaded=1 then RMEnsure SharedCLibrary 3.75 Error 0 You are already running a version of CLib which is too old. Wordz needs SharedCLibrary 3.75 or later
Unset Wordz$CLibLoaded
RMEnsure SharedCLibrary 3.75 Error 0 The version of CLib installed in your !System is too old. Wordz needs SharedCLibrary 3.75 or later
|
RMEnsure FPEmulator 2.80 If "<System$Path>"="" then Error 0 Unable to locate your System directory. Please use StartWordz on the Examples disc
RMEnsure FPEmulator 2.80 RMLoad System:Modules.FPEmulator
RMEnsure FPEmulator 2.80 Error 0 The version of FPEmulator installed in your !System is too old. Wordz needs FPEmulator 2.80 or later
|
RMEnsure Task 0.08 RMLoad Wordz:TaskX*
RMEnsure Task 0.08 Error 0 The version of Task found on your application resources path is too old. Wordz needs Task 0.08 or later
|
Run Wordz:ImageSlot <Wordz$ImageDir>.!RunImage 12K 64K
|
Run <Wordz$ImageDir>.!RunImage -n Wordz %*0