[ANN] Release 8.1.0 DP 2

Mike Kerner MikeKerner at roadrunner.com
Thu Jun 30 17:20:03 EDT 2016


FYI, the new return syntax is different than what was described.

return x for error
return x for value
return x

The behavior:
with a handler, return x for error and return x do the same thing - the
result gets x and it gets nothing.  With return x for value, it gets x and
the result gets nothing.

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.

-- 
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