Einzelnen Beitrag anzeigen
Alt 09.10.2012, 21:48   #66
leecher
Moderator
COPY

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'
Angehängte Dateien
Dateityp: oac COPY.OAC‎ (13.0 KB, 2x aufgerufen)
leecher ist offline   Mit Zitat antworten