Product Information > JADE Error Messages and System Messages > 6000 through 6999 - JADE Compiler Errors > 6057 - Non-constant expression

6057   Non-constant expression

Cause

This error occurs if a non-constant expression is used to initialize a constant (for example, an expression involving a property of the current class).

The expression used to initialize a constant must yield a constant value; that is, it must be made up of literal values or other constants (or both).

Action

Change the expression so that it refers only to literal values or to other constants, or both literal values and other constants.