Append_Logg
Back to ListDescription: Append logg to a previously created log-file.
FileMaker Prototype:
Set Variable [$res; ACFU_Append_Logg( string_logg; string_FilePath)]
Category: BOOTSTRAP
NOTE: The bootstrap library comes preloaded in the plugin. Read more
Function source:
/*
Append logg entries to previously created logg with Save_Logg.
*/
function Append_Logg ( string logg , string FilePath)
FunctionID 234;
logg = substitute ( logg, "\r", "\n");
int x = open ( FilePath, "wa");
if ( isWindows ) then
write ( x, substitute ( logg, "\n", "\r\n"));
else
write ( x, logg);
end if
close ( x );
return "OK";
end
Append_Logg
Example
Set Variable [$res; ACFU_Append_Logg( string_logg; string_FilePath)] 