home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 3
/
PDCD_3.iso
/
utilities
/
utilst
/
thesdls
/
!cdll
/
!Run
next >
Wrap
Text File
|
1994-12-15
|
2KB
|
52 lines
|
| CDLL FrontEnd application 1.xx !Run file
|
| © 1994 Straylight
|
| This file version 1.00 (20 March 1994)
|
| --- Notes ---
|
| This Run file is a little unusual. We allocate an overlarge WimpSlot to
| allow FrontEnd to load -- Acorn decided to make it unsqueeze itself, so
| it needs lots of memory.
|
| Because FrontEnd doesn't support STASIS (we wish!), we can only use the
| rather grotty RISC OS 3 3D icons. In support of RISC OS 2, we include
| a 2D set -- these are copied about at run-time according to the OS
| version. If you want this application to be read-only, you'll have to
| disable that section and only use one version of the templates.
|
| RISC OS 3 doesn't support the full range of STASIS border types (in
| particular it doesn't do group boxes properly), so we've had to use the
| style-guide conformant subset. Also, the warning box doesn't work quite
| properly, because FrontEnd doesn't understand nonpolling dialogues.
Set CDLL$Dir <Obey$Dir>
IconSprites <CDLL$Dir>.!Sprites
WimpSlot -min 128K -max 128K
If "<System$Path>"="" Then Error 0 System resources could not be found. Please double-click a !System folder and reload.
If "<Wimp$Scrap>"="" Then Error 0 Couldn't find Scrap folder. Please double click a !Scrap folder (or !System if you don't have !Scrap) and reload.
Set Alias$_RMEnsure RMEnsure %%0 0.00 RMLoad %%2 |m RMEnsure %%0 %%1
Set Alias$_OddRMEnsure RMEnsure %%0 0.00 Run %%2 |m RMEnsure %%0 %%1
_RMEnsure SharedCLibrary 3.75 System:Modules.CLib
_RMEnsure FPEmulator 2.80 System:Modules.FPEmulator
_OddRMEnsure FrontEnd 1.13 System:Modules.FrontEnd
_RMEnsure TaskWindow 0.29 System:Modules.Task
_RMEnsure DDEUtils 1.50 System:Modules.DDEUtils
Unset Alias$_RMEnsure
Unset Alias$_OddRMEnsure
WimpSlot -min 64K -max 64K
Set _templates <CDLL$Dir>.Template3D
RMEnsure UtilityModule 3.10 Set _templates <CDLL$Dir>.Template2D
Remove <CDLL$Dir>.Templates
Copy <_templates> <CDLL$Dir>.Templates ~c~vf~r
FrontEnd_Start -app CDLL -desc <CDLL$Dir>.Desc