home *** CD-ROM | disk | FTP | other *** search
- | Run file for !BackLoad
- | © The Unbroken Circle, 1995
- |
- | By Tim Wiser
- |
-
- | Set up the $Dir system variable ...
- Set BackgroundLoader$Dir <Obey$Dir>
-
- | No you CAN'T run two copies at once ..!
- If "<BackgroundLoader$Running>" = 1 then Error You can't run two copies of Background Loader at once
-
- | Remove the remark if you want !BackLoad to be executable from the desktop
- | If "<Wimp$State>" = "desktop" then Error You can't run this application in the desktop environment
-
- | Set up the memory for the application - only 64K ..!
- WimpSlot -min 64K -max 64K
-
- | Initialise the icon ...
- Iconsprites <BackgroundLoader$Dir>.!Sprites
-
- | Set up the $Running system variable ...
- Set BackgroundLoader$Running 1
-
- | And run the code
- <BackgroundLoader$Dir>.!RunImage
-
- | Now redraw the screen with a nifty piece of code ...
- <BackgroundLoader$Dir>.WimpRedraw
-
- | And unset the $Running variable ...
- Unset BackgroundLoader$Running
-
- | And that's it.