Ken Ray wrote
>
>
> repeat with x = 1 to 12
> put "Hello" into field ("MyField" & x)
> end repeat
>
>
What if you want to put fld fieldname into myvar as in the original that Bob
suggested:
"put fld myfield into tvar" & x
Myfield holds the name of a field that is being copied to a temp variable
that is incrementing inside a loop. I tried various things but could'nt get
it to work.
-- Mark
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Looping-over-all-buttons-tp4410980p4414762.html
Sent from the Revolution - User mailing list archive at Nabble.com.
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode