URL download and Cache problems

Alex Tweedly alex at tweedly.net
Wed Dec 15 14:03:45 EST 2004


At 13:41 15/12/2004 -0500, Rick Harrison wrote:

>On Dec 15, 2004, at 1:18 PM, Alex Tweedly wrote:
>
>>
>>Yes - simply use
>>   put URL "http://www......." into myVar
>>(or into a field, or wherever)
>
>Alex,
>
>Ok, but how does the program know when it is done downloading
>if I use:
>
>
>>   put URL "http://www......." into myVar

This one does wait until it's done (or has failed)

The docs say:
>All actions that refer to a URL container are blocking: that is, the 
>handler pauses until Revolution is finished accessing the URL. Since 
>fetching a web page may take some time due to network lag, accessing URLs 
>may take long enough to be noticeable to the user. To avoid this delay, 
>use the load command (which is non-blocking) to cache web pages before you 
>need them.

-- Alex.


More information about the use-livecode mailing list