Engine evaluation changed?

Dave Cragg dave.cragg at lacscentre.co.uk
Fri Apr 25 14:36:17 EDT 2008


On 25 Apr 2008, at 00:56, Richard Gaskin wrote:

> Many years ago this script worked:
>
>  if there is a folder AppPath()&"media/" then
>
> Now it only works if I'm more explicit about the path concatenation:
>
>  if there is a folder (AppPath()&"media/") then
>
> I can understand why the engine prefers the params, but I don't  
> understand how it changed, or exactly when.
>
> Have any of you seen changes to the order of precedence in  
> expression evaluation?

I'm sure this changed many years ago in the Metacard days. I was  
caught out and had to fix things in an application. I remember Scott  
Raney commenting that it was to introduce more consistency to operator  
precedence.

Cheers
Dave



More information about the use-livecode mailing list