View Single Post
12-28-09, 05:50 AM   #8
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
Originally Posted by nightcracker View Post
Note that if you are trying to get a value from a table while the variable is no table at all, it will always fail, even when you have an "or" set.
While attempting to index a nil variable will result in Lua throwing an error and terminating execution, this is not the purpose of the above poster's explanation. My post was a correction on Lua's behavior in the specific operation performed.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 12-28-09 at 05:57 AM.
  Reply With Quote