runrev/livecode — pull request #1500 by runrevsebastien (2014-11-18 14:11:36+00:00)
Title: [[ Bug 13034 ]] Documentation added about the relation between 'return' ...

...and 'the result'.

As usual the updates are not seeable, since the doc file format has totally changed, here are the changes:
- adding to function's and on's descriptions: "As the result is a global property, if you do not explicitly return a value, then the result will no change, but reflect the last engine command, engine function or command or function handler that did return a value.
- adding to return's summary: "Sets the result to the value as well"
- adding to return's description: "

As well as the return control structure returns the value to the caller, it sets the result to the value

"
- changing result's summary to: "Is a global property returning the last value returned by return from a handler, from an engine function, or from an engine command which sets the result."
- changing first sentence of result's description to: "Use the result function to check whether the last command executed encountered an error, or get the last value returned by the control structure return"