Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter FiveGeneral Functions (continued)

LogIndent Function

Overview

The LogIndent function indents (moves the spacing to the right) the log information by a specified or default amount.

Syntax/Parameters

Syntax

int = LogIndent ( [handle hLogObject], [int value] );

Parameters

hLogObject

A handle to a Log Object created with the LogCreate function. If this handle is omitted or NULL_HANDLE is specified, the function will apply the error summary to the default log.

value

An optional int specifying the indent value. If omitted, the value will be 5 spaces. The value can be positive or negative but cannot be larger than 40 or smaller than -40.

Return Value

Returns an int as ERROR_NONE or a formatted error code on failure. Use the GetLastError function to retrieve error information.

Remarks

The LogIndent function can be used to group data within the log. The indent is added to the current indent value for the specified (or default) log. If the resulting indent is larger than 80 characters, it will be capped at 80 characters. Note that specifying a negative value for the value parameter will outdent the text (move it to the left, which produces the same result as using the LogOutdent function).

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic