Page 1 of 1

unwanted variable 'AttrBtnList' ?

Posted: Fri May 29, 2015 8:19 pm
by pderks
Hi,

Code: Select all

 global AttrBtnList
is stopped with message: "(global: not a valid variable name) near "AttrBtnList"

I can't find any hint: neither the dictionary nor Google know "AttrBtnList" …

Peter

Re: unwanted variable 'AttrBtnList' ?

Posted: Fri May 29, 2015 9:22 pm
by FourthWorld
I can think of two possible causes, though there may be others:
1. Could there be some other non-printable character on either side of that token instead of a space?
2. Is that variable name also declared elsewhere in the script as local or a handler argument?

Re: unwanted variable 'AttrBtnList' ?

Posted: Fri May 29, 2015 10:38 pm
by pderks
Richard,

you are right: case/cause 2 occurred …

Thank you

Peter