ArcBasicDocs

WriteString

Writes a length-prefixed string.

WriteString ( stream,string$ )

Parameters

stream
the file or stream's handle.
string$
the text to write.

Description

Writes a string as its length (4 bytes) followed by its characters, so ReadString can read it back exactly, even if it contains line breaks.

See also