XojoScript.CompilerWarning

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
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.

XojoScript.Warnings is 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.