I have had this problem in the past and still do now and again. It seems to rear its ugly head when doing a lot of variable adding/deleting/renaming during development, but I have not been able to identify the exact circumstances to reproduce. I am running on the IDE on XP. Sometimes closing LC will fix it, other times the only way I found to fix it was to rename the variable. I think this is a bug.
Ralph DiMola IT Director Evergreen Information Services Phone: 518-636-3998 Ex:11 Cell: 518-796-9332 -----Original Message----- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Graham Samuel Sent: Monday, October 10, 2011 6:02 AM To: use-livecode@lists.runrev.com Subject: What does 'shadows' mean? Working on a script I've been using for some time, I just got a compilation error for the local definition of a variable called "t1". The error was: local: name shadows another variable or constant The only meaning I can put to this is that I had already defined this variable either as a local, global or constant in the current script - but searching the script shows that I haven't. Also since I'm using explicit variables, when I delete the (only) definition of t1, I get the usual error warning me the name is undefined. So 'shadow' must mean something else. I've tinkered around but I can't make the error go away. Can anyone tell me what I did wrong? Doubtless it's some kind of finger trouble. TIA Graham _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode