A code style question

Geoff Canyon gcanyon at gmail.com
Thu Jan 22 17:49:34 EST 2015


On Thu, Jan 22, 2015 at 1:42 PM, Ben Rubinstein <benr_mc at cogapp.com> wrote:

> Sorry, I've only just realised as I was about to press send that the point
> you were making was that if it was built-in, then it also wouldn't need to
> evaluate both outcomes.  Good point - though I'd personally still tend to
> restrict the use to constants or very simple expressions.


Agreed that there's the potential for complexity abuse for something like
this. The evaluation aspect could come up even in simple situations like:

set the left of <some control> to iff(exists(<some other control>),the left
of <some other control>,<default value>)



More information about the use-livecode mailing list