LOTUSSCRIPT/COM/OLE CLASSES


Examples: ReadText method
1. This agent reads a text file and saves its content in the Body item of a new document in the current database. The user specifies the name of the file but not the extension which is .txt. The agent uses the file name for the content of the Subject item.
2. This agent is similar to the first example but reads the file a line at a time. The agent adds text to the Body item of the new document until end of stream occurs.
See Also