home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format 106
/
af106sub.adf
/
datatypes.LZX
/
anim_datatype
/
animtest
< prev
next >
Wrap
Text File
|
2001-09-25
|
606b
|
30 lines
; anim.datatype test script
; Execute it from the base directory
FailAt 10
Set ECHO ON
; Is here the datatype shared library ?
If EXISTS "anim.datatype.ld"
; Check if we created the test directory
If NOT EXISTS "RAM:DataTypes"
MakeDir "RAM:DataTypes"
Assign LIBS: RAM: ADD
EndIf
; Copy descriptor
If NOT EXISTS "RAM:ANIM"
Copy CLONE FROM="ANIM(%|.info)" TO="RAM:"
EndIf
; Copy class library
Copy CLONE FROM="anim.datatype.ld" TO="RAM:Datatypes/anim.datatype"
; Get rid of the old version
C:FlushLibs
Else
ECHO "No anim.datatype.ld in this directory"
Quit 10
EndIf