Results: 104Comments by: Kodewulf |
File: Toolbox 1.011-22-06 |
Re: Re: Re: Clone function is buggy
Posted By: Kodewulf
Originally posted by disht
I understand, but the code you wrote doesn't create shallow copies. It always creates deep copies independently of whether you pass true or false to the Clone function. I changed the code in my last post to make two functions: one for deep copy and one for shallow one.
As for metatables and recursive d...
|
File: Toolbox 1.011-22-06 |
Re: Clone function is buggy
Posted By: Kodewulf
Originally posted by disht
deep or not deep does exactly the same thing. The function should look like this instead:
function Toolbox:Clone(source, deep)
if (not source) then return end
if (type(source) ~= "table") then return source end
if (not deep) then deep = false end
if (type(deep) ~= "boolean") t...
|
File: FuBar - TrainerFu11-20-06 |
Good work
Posted By: Kodewulf
Very nice. :)
This is why I didn't spend to much time on creating a COOL FuBar plugin for School. I knew someone like you would come around and create a masterpiece like this.
Good work
Kodewulf
|
File: School11-19-06 |
Originally posted by SirQuester
V...
Posted By: Kodewulf
Originally posted by SirQuester
Very nice addon with more functionality than TrainerSkills.
I very much like the fact that you include the cost to train beside each item. I'm guessing that's set to the highest cost and not judging by your reputation?
It would be great if the mapnoting worked with MetaMap's knowledge base as...
|