XojoScript.Warnings

From Xojo Documentation

Enumeration
XojoScript.Warnings

New in 2013r1

These are the warnings than can occur when compiling XojoScript or IDE Scripts.

Values

Enum Description
ConversionPrecision Converting from %OriginalType to %NewType causes a possible loss of precision, which can lead to unexpected results.
ConversionSign Converting from %OriginalType to %NewType causes the sign information to be lost, which can lead to unexpected results.
Custom A custom warning displayed by Pragma Warning.
Deprecated  %Name is deprecated.
DeprecatedWithReplacement  %Name is deprecated. You should use %Replacement instead.
FloatingPointComparison Performing a %Operator comparison on floating-point values can yield unexpected results due to their inexact binary representation.
OldStyleConstructor Old-style constructor methods are no longer supported.  You should use ""Constructor"" instead.
ShadowedConstant This constant shadows one already defined by %Superclass.
ShadowedProperty This property shadows one already defined by %Superclass.
UnknownPragmaWarning Unknown pragma name.
UnusedEventParameter %Name is an unused event parameter.
UnusedLocal %Name is an unused local variable.
UnusedMethodParameter %Name is an unused method parameter.
NameLookupChange Before 2014r3, this would have referred to the %OldPath but now it refers to the %NewPath.

See Also