Collin> ! winarea = (winwidth * winheight)/144"Collin" == Collin Peters <[EMAIL PROTECTED]> writes:
This design is highly assymetrical. You probably want something more like:
<evaluate op="/"> <evaluate op="*"> <variable name="winwidth"/> <variable name="winheight"/> </evaluate> <number value="144"/> </evaluate>
Then every variable is always "variable", evry number is "number" every operator is always "evaluate", and it's the attributes to distinguish them. That's much more XML-ish.
What about the case of 'winwidth * winheight / winoper'? That method wouldn't work with having more than one operator. This is one of the reasons this is such a pain as there are SO many different options and ways it can be written. Thanks for the advice, any other ideas are appreciated.
Collin