unwanted variable 'AttrBtnList' ?

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
pderks
Posts: 58
Joined: Sat May 14, 2011 4:25 pm

unwanted variable 'AttrBtnList' ?

Post by pderks » Fri May 29, 2015 8:19 pm

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

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10057
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: unwanted variable 'AttrBtnList' ?

Post by FourthWorld » Fri May 29, 2015 9:22 pm

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?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

pderks
Posts: 58
Joined: Sat May 14, 2011 4:25 pm

Re: unwanted variable 'AttrBtnList' ?

Post by pderks » Fri May 29, 2015 10:38 pm

Richard,

you are right: case/cause 2 occurred …

Thank you

Peter

Post Reply