XojoScript.CompilerWarning

From Xojo Documentation

Event


XojoScript.CompilerWarning(location As XojoScriptLocation, warning As XojoScript.Warnings, warningInfo As Dictionary)

Supported for all project types and targets.

This event gets called if there were any compiler warnings in the script code.

Notes

XojoScriptLocation contains information about the location in the script containing the warning.

Scripting Warnings has the enumeration for all the available warning messages.

The warningInfo Dictionary keys are not stable nor are they guaranteed to always be present. You should explicitly use Dictionary.Lookup or Dictionary.HasKey when looking up these values.