Kay C Lan

tFldRef will now equal Let's put something in to field xxx

tFldRef is a variable, when you put something into a variable
the variable contents change.

The "put" command is handy for many things, but its use in HyperCard to allow setting values in objects lent itself to ambiguity, and LiveCode's faithful following of that tradition means that from time to time we'll see people stuck with cumbersome expressions requiring a lot of concatenation, "quote&quote" stuff, and a "do" command.

A simpler habit to get into with LC, one that can withstand any form of valid object reference, is to use the property form instead with "set":

   set the text of tFldRef to tSomeValue

--
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  Follow me on Twitter:  http://twitter.com/FourthWorldSys

_______________________________________________
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