can't put into field by id?

Mike Bonner bonnmike at gmail.com
Fri Nov 14 12:46:45 EST 2014


Things like this also work..
   put the long id of (tFieldName) where tFieldname contains "field
myfield" though, to be safe it should contain --field "myfield" on the off
chance that myfield is another variable name. As long as you force
evaluation of the var with parens, life gets easier.


On Thu, Nov 13, 2014 at 10:48 PM, <dunbarx at aol.com> wrote:

> 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
>
>
> _______________________________________________
> 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