quotes question

Colin Holgate coiin at verizon.net
Wed Oct 8 12:41:25 EDT 2014


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)



More information about the use-livecode mailing list