LoadFile$

Purpose:

Outputs the contents of the file as a string.

Note: Please note that the display of RTF texts from variables/fields is designed for content that was created using the Microsoft RTF control. Content created in Microsoft Word may not be compatible with the RTF standard used by the control and should therefore not be used.

Parameter:

String

String          (optional) When the file is not available, the value set here is used.

Return value:

String

Example:

LoadFile$("C:\log.txt","File not found!")