E r g e b n i s / R e s u l t
The routine copies file src to dst.
B e s c h r e i b u n g / D e s c r i p t i o n
COPY copies file src to dst, if src exists and dst doesn't exist.
S y n t a x
Code:
boolean = call ('COPY' , src, dst) P a r a m e t e r
src - Source file to copy
dsr - Destination filename to copy src to.
R e t u r n s
TRUE, if copying succeeded, FALSE otherwise.
B e i s p i e l / E x a m p l e
Code:
attach 'COPY'
put call ('COPY' , 'FILE1.TXT', 'FILE2.TXT') ! copies file1.txt to file2.txt and returns TRUE if it succeeded
detach 'COPY'