Originally Posted by nightcracker
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.