Are any possible commands on data in a field also possible in a variable ?
Eric Chatonet
eric.chatonet at sosmartsoftware.com
Fri May 18 10:53:32 EDT 2007
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/
----------------------------------------------------------------
More information about the use-livecode
mailing list