Re: quotes question

2014-10-08 Thread Kay C Lan
On Thu, Oct 9, 2014 at 12:30 AM, wrote: > > create field > set the name of the last field to ("myfield" & x) > Looks like you're starting to think like a LiveCoder :-) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: quotes question

2014-10-08 Thread Bob Sneidar
The first one is correct. Quote object names and values, do not quote variables. You can get away without quoting object names, but the code is more readable, and avoids (remotely) possible variable/object conflicts. Bob S On Oct 8, 2014, at 09:30 , la...@significantplanet.org

Re: quotes question

2014-10-08 Thread Colin Holgate
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 (my