Template

ConstantBox

From Xojo Documentation

Displays a class constant box


{{ConstantBox
| name = constant's name
| type = type of the constant
| value = default value of constant
| owner = the constant's owner class
| platform = all/mac/win/linux
| newinversion = version where this class first appeared
| modifiedinversion = version where this class has been modified
| replacementreason = obsolete/deprecated
| replacement = the replacement
}}


Constant As Integer = 123


anInteger = Label.SomeConstant

New in 2005r1


OR for Global Constants


Constant As Integer = 123

anInteger = SomeConstant

New in 2005r1