Using return in a command script

Richard Gaskin ambassador at fourthworld.com
Wed Oct 26 14:44:54 EDT 2016


dunbarx wrote:
> Do you mean something like this does not work anymore???
>
> Impossible.
>
> on mouseUp
>    doThis
>    answer the result
> end mouseUp
>
> on doThis
>    return random(999)
> end doThis

Works here as of v9.0 dp 1.

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the use-livecode mailing list