I don't think it's a bug IMHO. How can a variable in the same script have 2 
scopes? How would the app know which you were talking about when you used it? 

Bob


On Jul 7, 2011, at 8:38 AM, Mark Wieder wrote:

> Interesting. I *did* try myself before posting, but I did this in the
> same script:
> 
> on mouseUp
>  global xyzzy
>  local xyzzy
> end mouseUp
> 
> and the compiler properly complains about that. I guess it's not quite
> smart enough to catch this across different scripts. I'd file a bug
> about this, but since I don't use global vars anyway I don't think
> I'll bother.
> 
> -- 
> -Mark Wieder
> mwie...@ahsoftware.net


_______________________________________________
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

Reply via email to