HTML5 update: why it is slow?
Trevor DeVore
lists at mangomultimedia.com
Mon Jan 11 13:27:24 EST 2016
On Fri, Jan 8, 2016 at 3:56 PM, Monte Goulding <monte at appisle.net> wrote:
>
> One thing that might work to avoid having multiple callbacks would be
> completion handler style blocks. This would be particularly helpful if
> their variable scope included the locals in the parent handler. This would
> also give us the choice of declaring a callback either inside or outside
> the current handler.
>
> Using Mark’s example:
>
> on processThing
> load url "..." with block pResultCode, pData, pError
> ---
> end block
> end processThing
>
> — OR
>
> on processThing
> load url "..." with processThing2
> end processThing
>
> block processThing2 pResultCode, pData, pError
> --
> end processThing2
Monte,
I don't see how you would cancel a running operating with the block
example. With your queue idea then you can delete the queue to effectively
cancel it.
--
Trevor DeVore
ScreenSteps
www.screensteps.com - www.clarify-it.com
More information about the use-livecode
mailing list