long id trap for the unwary

Klaus major-k klaus at major-k.de
Tue Jun 28 16:35:13 EDT 2022


Hi Craig,

> Am 28.06.2022 um 22:27 schrieb Craig Newman via use-livecode <use-livecode at lists.runrev.com>:
> 
> I just glanced at this. Down at the very beginning, I noticed something odd. One cannot do anything with “the text" of a variable; that would not throw an error, but would always be empty, no?

no, if the variable contains a valid description of a field control.
This works as advertized:
...
put the long ID of fld 1 into tField
put the text of tField
...

Hope I understood you correctly.

> Craig

Best

Klaus
--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
klaus at major-k.de




More information about the use-livecode mailing list