So it seems that I got bitten by the fact that the dot is subtly overloaded. Small surprise, since I never use dots in names. Would it be an idea to have some mode of operation where dots in names are flagged as warnings? Or is this a practical impossibility? Alternatively it would already be convenient if an option of this sort would be available in the Eclipse Jess editor.
-+- JW -+- PS - I don't see your modified version... 2009/12/2 Friedman-Hill, Ernest <[email protected]>: > Hi Jan, > > No mystery, just a few subtle things wrong. Remember that MyEnum.BIM is > always just a symbol, while (MyEnum.BIM) is a function that returns the > object BIM in the enumeration MyEnum (given that you've imported MyEnum). The > version of the program with enums should NEVER use a bare "MyEnum.BIM" > without the parentheses. The slightly modified version below works as you'd > expect > -------------------------------------------------------------------- > To unsubscribe, send the words 'unsubscribe jess-users [email protected]' > in the BODY of a message to [email protected], NOT to the list > (use your own address!) List problems? Notify [email protected] -------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users [email protected]' in the BODY of a message to [email protected], NOT to the list (use your own address!) List problems? Notify [email protected]. --------------------------------------------------------------------
