<div dir="ltr"><br><div class="gmail_extra">On 5 April 2013 20:26, Davide Sottara <span dir="ltr"><<a href="mailto:dsotty@gmail.com" target="_blank">dsotty@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
2) The "declare RuleConstant" below does not define global variables,<br>
but a class for<br>
which the default constructor would initialize the fields to default values.<br>
You may want to declare an enum instead:<br>
<br>
declare enum RuleConstant<br>
COUPE( "C" ),<br>
SEDAN( "S" );<br>
<br>
code : String<br>
end<br>
<br>
you can then use it as an enum...<br></blockquote><div><br><br></div><div>Which is suitably documented so that idiots like me can read all about it... where, please?<br></div><div>-W<br></div><div><br> </div></div></div>
</div>