Quantcast WoWInterface - View Single Post - Dividing hundreds and thousands by a comma
View Single Post
Unread 12-18-12, 05:17 PM   #6
A Pyroguard Emberseer
Torhal's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 1,131
No. In your example, "announce" is a parameter which is passed in from elsewhere, so it is either already global or local to the scope from whence it originated. Also, the line:

announce = (announce or false)
...is usually semantically identical to saying "This boolean value is either what it already equates to or false" unless you really need to differentiate between "false" and "nil".
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of Revelation, Spamalyzer, TravelAgent, Volumizer, and many other AddOns.
Torhal is offline   Reply With Quote