write()

Synopsis

Writes str to file. The string is appended to the existing contents of the file. The function returns the number of characters written, or a negative value if an error occurs.

file must be obtained by a prior call to openFile with a mode of :Write or :WriteAppend.

Syntax

write ( str As String, _
        file As User ) As Integer 
Argument Type Description
str string The string to write.
file user A file handle previously created by a call to openFile.