LOTUSSCRIPT/COM/OLE CLASSES


WriteText method
Example

Writes text to a stream.

Defined in

NotesStream

Syntax

bytes& = notesStream.WriteText( text$ , [ eol& ] )

Parameters

text$


eol& Return value

bytes&


Usage

This method appends the text to the end of the stream.

This method raises an error if the stream is read-only. See IsReadOnly.

When a stream is written, property values are:


If the stream is opened on an empty file and the character set is Unicode, UTF-16, UTF-16BE, or UTF-16LE, this method writes byte order mark or signature bytes at the beginning of the stream. These bytes are transparent upon subsequent accesses of the stream with the same character set.

Language cross-reference

writeText method in Java Stream class

Example