Variable question

Bojsza gbojsza at mac.com
Thu Feb 19 14:20:37 EST 2004


I am trying to get a simple repeat loop to work with a variable 
container.

on mouseUp
put 3 into s
	repeat with i = 1 to 2
		put s into f(i)
		put s + 5 into s
	end repeat
end mouseUp

Is there a way to make this work? Any variation of the f(i) syntax 
generates an error by Revolution.

thanks,

Glen



More information about the use-livecode mailing list