View Single Post
03-12-11, 03:43 PM   #2
Grimsin
A Molten Giant
 
Grimsin's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 990
Ive got the function lookin like this. i think its having issues passing the value part of the table in the tinsert part

edit - and this has issues with the tonumber it cant conver "4.0.6.06" to a number... it cant convert either string it returns nil for both tonumbers...

local function VerCheckUpdate()
LastVerNum = tonumber(addon.settings.version)
if CurVerNum > LastVerNum then
for gname, gparent in pairs(GMoveableFrames) do
local TabCont = tContains( DefGMoveableFrames, gname )
if TabCont == nil then
tinsert(GMoveableFrames, (gname + gparent))
end
end
end
end
__________________
"Are we there yet?"

GrimUI
[SIGPIC][/SIGPIC]

Last edited by Grimsin : 03-12-11 at 03:53 PM.
  Reply With Quote