home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Archive Magazine 1996
/
ARCHIVE_96.iso
/
discs
/
mag_discs
/
volume_9
/
issue_12
/
johnson
/
!WaveFunc
/
!Run
< prev
next >
Wrap
Text File
|
1996-07-02
|
996b
|
33 lines
| > !WaveFunc.!Run
|
| Run File for Wavefunction Display
|
| by Chris Johnson
|
RMEnsure UtilityModule 3.10 Error This application is only suitable for use with RISC OS 3.10 or later versions
|
If "<WaveFunc$Running>" = "yes" Then Error WaveFunc is already running
IconSprites <Obey$Dir>.!Sprites
|
| Find path to file
Set WaveFunc$Dir <Obey$Dir>
|
set temp$flag 1
RMEnsure ABCLibrary 0 set temp$flag 0
RMensure ABCLibrary 4.00 if "<temp$flag>" = "1" Then Error 0 Old ABCLib installed Else RMLoad <Obey$Dir>.ABCLib
RMensure ABCLibrary 4.00 Error You need the ABClibrary ver 4.00 or later installed
|
set temp$flag 1
RMEnsure CJWimpUtil 0 set temp$flag 0
RMEnsure CJWimpUtil 0.18 if "<temp$flag>" = "1" Then Error 0 Old CJWimpUtil module installed Else RMLoad <Obey$Dir>.cjWimpUtil
RMEnsure CJWimpUtil 0.18 Error You need the CJWimpUtil module (0.18 or later) installed
unset temp$flag
|
| Check memory allocation
WimpSlot -min 64K -max 64K
|
|
|
| Now start program
Run <WaveFunc$Dir>.!RunImage