Search found 18 matches

by Zephos
Sat Apr 20, 2013 10:27 am
Forum: Support and Development
Topic: Problem using the 'SECS' class library
Replies: 23
Views: 11054

Re: Problem using the 'SECS' class library

Excellent, that helped a lot. Thanks goes to all of you, and sorry for causing a bit of a fuss.
by Zephos
Fri Apr 19, 2013 10:46 pm
Forum: Support and Development
Topic: Problem using the 'SECS' class library
Replies: 23
Views: 11054

Re: Problem using the 'SECS' class library

Let Y be the main problem here now. My X should be irrelevant for you as long as I know exactly what I want, anyway. Just please give me the answer to my problem and let me be happy, especially if the solution is exactly as easy as I imagined it to be: function object_destroy(objstr) loadstring(objs...
by Zephos
Fri Apr 19, 2013 5:54 pm
Forum: Support and Development
Topic: Problem using the 'SECS' class library
Replies: 23
Views: 11054

Re: Problem using the 'SECS' class library

By the way, I can't set it to anything else either, actually. Are you telling me that there is no fix for this seemingly simple problem?
by Zephos
Fri Apr 19, 2013 5:31 pm
Forum: Support and Development
Topic: Problem using the 'SECS' class library
Replies: 23
Views: 11054

Re: Problem using the 'SECS' class library

Because I need to use the argument 'o' in the function for other purposes too other than setting it to nil. Take a look at it.
by Zephos
Fri Apr 19, 2013 5:22 pm
Forum: Support and Development
Topic: Problem using the 'SECS' class library
Replies: 23
Views: 11054

Re: Problem using the 'SECS' class library

It's important for me to have a function for that. And doing it the easiest way I can think of doesn't work either: function love.load() require "class" function object_destroy(o) o = nil -- note that I don't want to use 'return nil' here and write 'obj = object_destroy()' -- because I nee...
by Zephos
Fri Apr 19, 2013 4:39 pm
Forum: Support and Development
Topic: Problem using the 'SECS' class library
Replies: 23
Views: 11054

Re: Problem using the 'SECS' class library

And how can I fix this?
by Zephos
Fri Apr 19, 2013 10:50 am
Forum: Support and Development
Topic: Problem using the 'SECS' class library
Replies: 23
Views: 11054

Re: Problem using the 'SECS' class library

*bump* When deleting objects, you simply set the object to nil, right? Can someone explain why this code won't work? function love.load() require "class" object = class:new() function object:init() function self:destroy() print(self) -- returns table when obj:destroy() is called self = nil...
by Zephos
Sun Apr 14, 2013 7:40 pm
Forum: Support and Development
Topic: Problem using the 'SECS' class library
Replies: 23
Views: 11054

Re: Problem using the 'SECS' class library

That'll do, thanks.
by Zephos
Sun Apr 14, 2013 5:10 pm
Forum: Support and Development
Topic: Problem using the 'SECS' class library
Replies: 23
Views: 11054

Re: Problem using the 'SECS' class library

What exactly the code basically does.
by Zephos
Sun Apr 14, 2013 1:47 pm
Forum: Support and Development
Topic: Problem using the 'SECS' class library
Replies: 23
Views: 11054

Re: Problem using the 'SECS' class library

*bump*

Can someone at least briefly explain the SECS code?