On 5 April 2013 20:26, Davide Sottara <dsotty@gmail.com> wrote:

2) The "declare RuleConstant" below does not define global variables,
but a class for
which the default constructor would initialize the fields to default values.
You may want to declare an enum instead:

declare enum RuleConstant
    COUPE( "C" ),
    SEDAN( "S" );

    code : String
end

you can then use it as an enum...


Which is suitably documented so that idiots like me can read all about it... where, please?
-W