HTML5 update: why it is slow?

Monte Goulding monte at appisle.net
Mon Jan 11 14:04:32 EST 2016


What if the result after end block was a block Id? A bit like send in time.

Sent from my iPhone

> On 12 Jan 2016, at 5:27 AM, Trevor DeVore <lists at mangomultimedia.com> wrote:
> 
>> 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
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list