Because the point was to demonstrate different script lines, some of
which work and one of which doesn't - but which to my simple mind should
have all worked.
(and a couple of kind people explained why that one was different :-)
It was not a "real" fragment of code - in that case I would indeed
Why aren't you setting the vis of tName?
Bob S
> On Jun 10, 2019, at 17:44 , Alex Tweedly via use-livecode
> wrote:
>
> OK, this code produces an error - but I can't see why (and I worry about that
> :-)
>
> I have a field inside a group inside a group ,
>
> and the following code :
>
I think this is important.
Perhaps related is why this is an execution error.
> On Jun 11, 2019, at 2:18 AM, Alex Tweedly via use-livecode
> wrote:
>
> Thank you Peter and Mark.
>
> I guess I see it now - though it's still against *my* intuition :-)
>
> Thanks
>
> Alex.
>
> On 11/06/2019 0
Thank you Peter and Mark.
I guess I see it now - though it's still against *my* intuition :-)
Thanks
Alex.
On 11/06/2019 03:24, Peter Bogdanoff via use-livecode wrote:
I think that 'item 1 of t1’ has to be resolved to an object reference before it
can be used with the vis property. The earli
On 2019-06-11 02:44, Alex Tweedly via use-livecode wrote:
on mouseup
local tName, t1, t2
put the long name of fld "F" into tName
put tName & ",12,13" into t1
put "t1" && t1 &CR after msg
put item 1 of t1 into t2
set the vis of t2 to TRUE
put "t2 was OK" &CR after msg
set
I think that 'item 1 of t1’ has to be resolved to an object reference before it
can be used with the vis property. The earlier lines are doing that, but not
the last.
It seems that LiveCode has gotten stricter with this in recent versions,
requiring “of me” or such when referring directly to a
OK, this code produces an error - but I can't see why (and I worry about
that :-)
I have a field inside a group inside a group ,
and the following code :
on mouseup
local tName, t1, t2
put the long name of fld "F" into tName
put tName & ",12,13" into t1
put "t1" && t1 &CR afte