Thread Tools Display Modes
Prev Previous Post   Next Post Next
03-24-24, 03:18 AM   #3
myrroddin
A Pyroguard Emberseer
 
myrroddin's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 1,240
Originally Posted by Xrystal View Post

Is that last line supposed to have that extra test at the end ? It seems like it should be on the next line rather than as an or statement. Technically shouldn't make a difference but hard to say.
That is a typo. It shouldn't look like that, no. Somehow I copied and pasted from my snippet back into the main file and saved it before I created a zip.

I will check the other answers and do some testing. I saw the SDPhantom's answer that explains it is overwriting nil with false. I realized that a few minutes before I booted my computer to check the forums. Yep, my brain is an entire day behind.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » I do not understand why I am getting type Boolean when I should be getting number


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off