How to "kill" mouseTouches while waiting for an internet connection?

Sannyasin Brahmanathaswami brahma at hindu.org
Thu Mar 26 23:53:45 EDT 2020


In lo-bandwith, hi-latency internet connections.



How can we use



mobileClearTouches





# in association with this handler?



function checkURLAvailable pSelectedURL

          local tHeaders, tSentHeaders, tResult, tBytes



          put tsNetHeadSync(pSelectedURL, tSentHeaders, tResult, tBytes) into tHeaders # into tHeaders

          ## get url pSelectedURL

          if (tResult is 200) then

                   return true

          else

                    ntInfo tResult && pSelectedURL

                   return false

          end if

end checkURLAvailable



# and, is this the best "algorithm" ?



BR




More information about the use-livecode mailing list