Quote:
Originally Posted by TFlan
You're not really asking anything - or anything that is clearly a question.
|
Not only that, they are showing code that promotes *very* sloppy programming practices.
So to actually answer your question: scope is defined by the context in which you have declared your variables.
The code itself, is completely useless. The function signature is incorrect, it has no semi-colon delimiters, and the use of global is entirely incorrect (global is *not* an assignment operation). So many a syntax errors this has.
This does kind of raise question as to why this thread was posted in the first place though. . .