can't put into field by id?

Dr. Hawkins dochawk at gmail.com
Thu Nov 13 19:05:30 EST 2014


On Thu, Nov 13, 2014 at 3:59 PM, Richard Gaskin <ambassador at fourthworld.com>
wrote:

> You could rewrite the code so that the variable portion contains only the
> short name, e.g.:
>
>    put "gizmo" into field theFld
>

in 7.0 RC21, this yiuelds,

  "button "scr_output": execution error at line 5814 (Chunk: no such
object), char 1

>
>   It may be simpler to use the property-setting form, in which case the
> engine will do its best to try to evaluate the value of the variable as an
> object reference, e.g.:
>
>   set the text of theFld to "gizmo"
>

ahh!

thanks



-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462



More information about the use-livecode mailing list