Little Transcript Help Over Here, Please

-= JB =- sundown at pacifier.com
Thu Jul 3 01:08:47 EDT 2008


How about if you try one of the below:

if the hilite of bg button theButton = true then
if the hilite of bg button theButton  ­ true then
if the hilite of bg button theButton = false then
if the hilite of bg button theButton  ­ false then

-=>JB<=-



On Jul 2, 2008, at 8:56 PM, Mikey wrote:

> 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
>
> OR
>
> if (the hilite of bg button theButton) then
>
> I get a message execution error:  Error Description:  Chunk:  no such
> object.
>
> 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."
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list