On Jun 24, 2014, at 11:02 AM, Graham Samuel <livf...@mac.com> wrote: > If I put > > sqrt(-1) > > that fires too. But if I put > > (-8)^(2/3) > > I get a result, "nan", and the catch doesn't fire. Why not?
Gee, you'd expect sqrt(-1) and (-1)^(1/2) to evaluate the same. Apparently, the sqrt function checks the parameter to be non-negative, like it says in the dictionary. That would be a lot harder to do in a generalized arithmetic expression. .Jerry _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode