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