| RISC OS Loader for !SiteMap
| Written by Paul Vigay (C) 2009
|
If "<SiteMap$Running>" <> "" Then Error SiteMap is already running.
|
Set ABCLib 1
RMEnsure ABCLibrary    0.00 Set ABCLib 0
|  ABCLib = 0 if not already loaded
If ABCLib = 0 Then RMEnsure ABClibrary 4.15 RMLoad System:modules.ABClib 
If ABCLib = 0 Then RMEnsure ABCLibrary 4.15 Error The version of ABCLib installed in your !System is too old. SiteMap needs ABCLib 4.15 or later 
If ABCLib = 1 Then RMEnsure ABCLibrary 4.15 Error You are already running a version of ABCLib which is too old. SiteMap needs ABCLib 4.15 or later 
|
| Ensure DDEUtils is loaded (for throwback)
RMEnsure DDEUtils 1.53 RMLoad System:Modules.DDEUtils
RMEnsure DDEUtils 1.53 Error SiteMap requires DDEUtils 1.53 or greater.
|
Set SiteMap$Dir <Obey$Dir>
Iconsprites <SiteMap$Dir>.!Sprites
|
Wimpslot -min 304K -max 304K
Run <SiteMap$Dir>.!RunImage %*0
