| !Run file for !DiscLabel Application V1.00
| by Nigel Gent
| 
if "<System$Path>" = "" then Error 0 System resources cannot be found
set clib$flag 0
RMensure SharedClibrary 3.00 set clib$flag 1
RMensure SharedClibrary 0 set clib$flag 0
if "<clib$flag>"="1" then Error An old version of the shared C library (clib) is resident in your machine.
unset clib$flag
|
| Install the shared C library (clib)
| -----------------------------------
|
RMensure SharedClibrary 3.00 RMload system:modules.clib
RMensure SharedClibrary 3.00 Error You need at least version 3.00 of the shared C library

IconSprites <Obey$Dir>.!Sprites
| Find our path
Set DiscLabel$Dir <Obey$Dir>
Set DiscLabel$Printer "Star-LC10"
| Check memory allocation
WimpSlot -min 150K -max 150K
| Start program
Run <DiscLabel$Dir>.!RunImage
