Field-Map Scripting

4.1.1.3.10 LogExt

LogExt procedure


Prototype:

procedure LogExt (const str: string; appendNewLine: boolean);

Description:

An extended version of the Log procedure providing the possibility to specify whether to append a new line or not.

Syntax:

Log(Str, AppendNewLine);


Part

Description


Str

A string parameter is the message which will appears as a new line in the log window


AppendNewLine

A boolean parameter which, if set to false, allows the next Log or LogExt procedure to append a message to the same line

Return value:

none




Example:

Begin
  OpenLog('Processing summaries of measured trees');
  LogExt(format(#9'Total umber of trees = %d',[TotalNumberOfTrees]),true);
  Log(format(#9'Number of plots = %d',[NumberOfPlots]]));           
End.



See also:                

OpenLog; IsLogOpen; HideLog; ShowLog; LogWindowStayOnTop; MakeLogWindowStayOnTop; CloseLog;CloseLogWithDelay; Log; LogExt; LogTabStops