PrintValidationMessages (open)

Prints (colored) validation errors and warnings to the console

Syntax

LOADLIB "mod::system/lib/validation.whlib";

MACRO PrintValidationMessages(RECORD file)

Parameters

RECORD file

Warnings and errors

RECORD ARRAY errors

List of errors

INTEGER errors.col

Column number

INTEGER errors.line

Line number

STRING errors.message

Error message

STRING errors.resourcename

Resource name

RECORD ARRAY warnings

List of warnings

INTEGER warnings.col

Column number

INTEGER warnings.line

Line number

STRING warnings.message

Warning message

STRING warnings.resourcename

Resource name