E r g e b n i s / R e s u l t
Clear a text file and write first line
B e s c h r e i b u n g / D e s c r i p t i o n
This function truncates the file fname and writes the line txtin to it.
The file must exist.
S y n t a x
Code:
ok = call("clrwrite",txtin,fname) P a r a m e t e r
txtin - Text to write to the file
fname - The file to truncate and write the text to. The file must exist.
R e t u r n s
A boolean value.
B e i s p i e l / E x a m p l e
Code:
attach "filecomp.oac"
OK = call("clrwrite","hi there","file.txt")
detach "filecomp.oac"