Robert-

Monday, August 21, 2006, 9:22:19 AM, you wrote:

> Seriously though, this should be corrected. I am reminded that in
> Foxpro a plus "+" can add two numbers AND concatenate 2 strings. How
> is this the same you ask? Because in both cases the same thing turns
> out to mean different things based upon context, which means I cannot
> make a code converter that works 100%.

Try "if x is a number then..." Disambiguation then becomes a simple
matter of "if both x and y are numbers then add them, otherwise
concatenate them".

...and if you think reusing the plus sign is bad, you should see what
Ruby does with punctuation...

-- 
-Mark Wieder
 [EMAIL PROTECTED]

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to