can't put into field by id?

dunbarx at aol.com dunbarx at aol.com
Fri Nov 14 00:48:20 EST 2014


I think what the good doctor wanted to do was this:



on mouseUp
   put "xx" into myVar
   put the long id of fld (word 1 of myVar) into theFld
do "put gizmo into" && theFld
end mouseUp


Now "gizmo" is placed into, er, the field


Craig

put the long id of fld (word 1 of myVar) into theFld
put "gizmo" into theFld





-----Original Message-----
From: Dr. Hawkins <dochawk at gmail.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Thu, Nov 13, 2014 6:54 pm
Subject: can't put into field by id?


With a sequence like,

put the long id of fld (word 1 of myVar) into theFld
put "gizmo" into theFld

I end up with "gizmo" in the variable theFld, rather than the field it
references.

Am I doing something wrong, or does this just not work for fields (7.0-RC2)
-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 



More information about the use-livecode mailing list