Thread Tools Display Modes
Prev Previous Post   Next Post Next
06-18-16, 12:43 PM   #1
myrroddin
A Pyroguard Emberseer
 
myrroddin's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 1,240
did print():format() change?

Doing some random testing on libs, trying to get the major, minor to print and see the values. Boredom~

Anyway, I got nil errors for these, yet LibStub loads the lib properly if you remove the print statements:
Code:
local major = "LibUtilities-1.0"
local minor = "$Revision: 10000 $"
local lib = LibStub:NewLibrary(major, minor)
print("major: %s"):format(major)
print("minor: %s"):format(minor)
print("minor: %d"):format(tonumber(minor))
if not lib then return end
 
 

WoWInterface » Site Forums » Archived Beta Forums » Legion Beta archived threads » did print():format() change?


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