Little Transcript Help Over Here, Please

Mikey mikeythek at
Wed Jul 2 23:56:50 EDT 2008

If I do the following in a script:
put "north" into theButton
global status
put the hilite of bg button theButton into status

and check status, I get the value I expect, namely the hilite of the bg
button North.

However, if I
if the hilite of bg button theButton then


if (the hilite of bg button theButton) then

I get a message execution error:  Error Description:  Chunk:  no such

So if I combine both of these, status gets the value I would expect, but I
still get the error.

So what's wrong with my code, please?
Diogenes  - "What I like to drink most is wine that belongs to others."

More information about the use-livecode mailing list