[ANN] Release 8.1.0 DP 2

Mike Kerner MikeKerner at roadrunner.com
Thu Jun 30 17:34:33 EDT 2016


well, "return error x" gives me a syntax error, and the documentation
specifies the syntax I describe, and indicates that it changed in 8.1.0, so
before I do anything, why don't we clarify what we think it's supposed to
be, first.

On Thu, Jun 30, 2016 at 5:30 PM, Peter TB Brett <peter.brett at livecode.com>
wrote:

> On 30/06/2016 22:20, Mike Kerner wrote:
>
> in a function, In a function, return x for error does nothing - the
>> function terminates without returning a value, and it and the result are
>> empty.  return x for value and return x do the same thing - the container
>> assigned gets the return value gets x, the result gets nothing.
>>
>
> That sounds like a bug to me... "return x for error" in a function is
> supposed to terminate the function without returning a value, and set the
> result to x.  Can you please file a bug with your recipe?
>
>                                     Peter
>
> --
> Dr Peter Brett <peter.brett at livecode.com>
> LiveCode Technical Project Manager
>
> LiveCode 2016 Conference https://livecode.com/edinburgh-2016/
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."



More information about the use-livecode mailing list