@DeleteLogEntry
Syntax
@DeleteLogEntry(FN1);
Description
This @function determines whether the APILog document for this task should be deleted after the task has ended or not.
FN FN1:
DEC Meaning
32768 Delete document
0 Do not delete document
3 Query status, but do not change it
Returnvalue:
If the @function was executed successfully, the previously set value is returned; otherwise @ERROR.
Example: @DeleteLogEntry(FN1);
Ret:=@DeleteLogEntry(3);
@LogReport(Ret);
Ret:=@DeleteLogEntry(32768);
@LogReport(Ret);
Ret:=@DeleteLogEntry(0);
@LogReport(Ret);
First, the current value is retrieved and output.
Then the flag is set to "Delete document" (32768), and the previous value is output.
Finally, the flag is set to "Do not delete document" (0), and the previous value (32768) is output.
Note : This text was machine-translated and may contain inaccuracies.
