Revolution speed sucks?

Björnke von Gierke bvg at mac.com
Thu Aug 7 21:23:04 EDT 2003


On Donnerstag, Aug 7, 2003, at 23:37 Europe/Zurich, Alex Rice wrote:

> repeat for each line theLine in theWinners --note: NOT "each line 
> theLine in fld winners"

This is wrong. Actually when you do a "repeat for each" loop, then you 
generate automatically a variable at the beginning of the loop and then 
use that. Hence it is impossible to change a container directly with 
that loop (putting something into "theLine" does not change the 
appropiate line of "theWinners"). When you generate another variable 
before the loop then that will only use more memory. (I tested that 
once and speed is equal for both cases)

>   -- do not access any buttons or fields in here

However I heartily agree with that.

> end repeat




More information about the use-livecode mailing list