Are any possible commands on data in a field also possible in a variable ?
André.Bisseret
Andre.Bisseret at inria.fr
Fri May 18 11:03:04 EDT 2007
Ok, thanks a lot Éric for this good practice advices that I was not
applying enough up to now. I think it is the first time I have a
handler that takes so much time (several seconds !)
Cordiales salutations de Grenoble
André
Le 18 mai 07 à 16:53, Eric Chatonet a écrit :
> Hi André,
>
>>> BTW working with variables is much faster because, mainly, the
>>> screen is refreshed only once :-)
>>
>> As for this point, what about an invisible field (getting visible
>> only when all is done) ? does this remain slower than with a
>> variable ?
>
> Good practice could be:
>
> 1. If you can, always use variables:
>
> local tData
> -----
> put field "Data" into tData
> < data processing>
> put tData into field "Data"
>
> 2. If using variables does not appear possible, always think of
> locking and unlocking the screen appropriately:
>
> lock screen
> repeat 100
> CreateNewField -- custom handler
> end repeat
> unlock screen
>
> Best regards from Paris,
> Eric Chatonet.
> ----------------------------------------------------------------
> http://www.sosmartsoftware.com/
> eric.chatonet at sosmartsoftware.com/
> ----------------------------------------------------------------
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
More information about the use-livecode
mailing list