Quantcast
WoWInterface - View Single Post - Help with if and 'and not'
View Single Post
10-29-16, 04:33 AM   #9
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 1,196
Lua (NOT LUA) is case-sensitive, so your examples of "IF" and "ElseIF" are a bit misleading. Likewise, showing examples of completely unrelated boolean logic for a semantically different language is... baffling.

There should be no "when in doubt" in this scenario; indeed, "Learn the language rules" should be the message.
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
  Reply With Quote