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."
_______________________________________________
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

Reply via email to