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 , 
[email protected]<mailto:[email protected]> 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
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to