If you mean that “myfield” is the name that you want to call the field, then 
this would be more proper, though either should work:

set the name of the last field to ("myfield" & x)

If myfield contains some other text, like “real field name”, this will work:

set the name of the last field to (myfield & x)

but this will fail:

set the name of the last field to (“myfield" & x)

My guess is that you mean that ‘x’ is the only variable, and myfield is the 
actual name that you want.

One other thing, if you want to name fields as “myfield 1”, “myfield 2”, etc, 
you can use double ampersands to get the space character:

set the name of the last field to (“myfield" && x)
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to