ACF Library

WriteOutputMacFileUTF8

Back to List

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

FileMaker Prototype:

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

Category: BOOTSTRAP

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

Function source:

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

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

For Examples, see the OpenOutputFile function.

Set Variable [$res; ACFU_WriteOutputMacFileUTF8( $FileNo;  "My extra report line")]
Back to List