RosettaCodeData/Task/Jump-anywhere/Lingo/jump-anywhere-2.lingo
2016-12-05 23:44:36 +01:00

12 lines
436 B
Text

on testPlayDone ()
-- Start some asynchronous process (like e.g. a HTTP request).
-- The result might be saved in some global variable, e.g. in _global.result
startAsyncProcess()
-- pauses execution of current function
play(_movie.frame)
-- The following will be executed only after 'play done' was called in the asynchronous process code
put "Done. The asynchronous process returned the result:" && _global.result
end