ACF Library

WriteOutputWinFileUTF8

Back to List

Description: Write to a file opened with the function "OpenOutputFile", using the filehandle and text to write. Converts CR to CRLF for Windows

FileMaker Prototype:

Set Variable [$res; ACFU_WriteOutputWinFileUTF8( int_FileNo;  string_data)]

Category: BOOTSTRAP

NOTE: The bootstrap library comes preloaded in the plugin. Read more

Function source:

function WriteOutputWinFileUTF8 ( int FileNo, string data ) 
   FunctionID 214; 
   write ( FileNo , substitute ( data, "\r", "\r\n" )) ; 
   return "OK";
end

WriteOutputWinFileUTF8 is used together with the OpenOutputFile to write more content to an allready opened file.

For more Examples, see the OpenOutputFile function.

Example

Set Variable [$res; ACFU_WriteOutputWinFileUTF8( $FileNo;  "My extra report line with windows UTF8\r")]
Back to List