|   File        : !Run
|   Date        : 07-Dec-97
|   Author      :  A.Thoukydides, 1996, 1997
|   Description : The first part of the script used to start the ARMEdit
|                 application. This checks that the computer is running a
|                 sufficiently recent version of RISC OS, displays a pretty
|                 banner, and starts the second part of the script.

| Set a system variable to the application directory
Set ARMEdit$Dir <Obey$Dir>

| Load the application sprites
IconSprites <ARMEdit$Dir>.!Sprites

| Check that it is a sufficiently recent version of the operating system
RMEnsure UtilityModule 3.10 Error 0 This application is only suitable for use with RISC OS 3.10 or later versions.

| Check that there is likely to be sufficient memory for both programs
WimpSlot -min 164K -max 164K

| Start the next part of the program loading once the banner has initialised
Filer_Run <ARMEdit$Dir>.!Run2

| Ensure that there is sufficient memory for the banner program
WimpSlot -min 52K -max 52K

| Run the banner program, leaving window open for 5 seconds
Run <ARMEdit$Dir>.Resources.Banner 500 -sprites <ARMEdit$Dir>.Resources.Title
