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<mailto:la...@significantplanet.org> wrote:

Question: If I'm using a variable as part of a field name, should it have 
quotes around it?
In other words, which of the two examples below is the right way to do it?

_______________________________________________
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