of     1   

matt1020304050
#36479185Thursday, November 04, 2010 3:49 AM GMT

Please post a small example.
pivotmaster101
#36479215Thursday, November 04, 2010 3:51 AM GMT

The only other function that works from collectgarbage is gcinfo(). Returning the amount of memory in use in KBs.
matt1020304050
#36479394Thursday, November 04, 2010 4:02 AM GMT

No I have seen it used in a few programs.
Ganondude
#36480910Thursday, November 04, 2010 5:46 AM GMT

So far as I know Roblox does not allow us to modify the garbage collector in any way, and as such most garbage collection functions are locked. The only garbage collection function that I know can be used is collectgarbage("count"), which is the same as gcinfo() mentioned above.
andymewborn
#36480985Thursday, November 04, 2010 5:57 AM GMT

Well I scripting what ya'll are talking about, but... It worked, and then all of a sudden it doesn't. Maybe ROBLOX took away collectgarbage("collect") and collectgarbage("count").
ergo6
#36483465Thursday, November 04, 2010 12:43 PM GMT

Roblox removed collectgarbage()
matt1020304050
#36484735Thursday, November 04, 2010 2:33 PM GMT

wow, so many functions of Lua have been removed or locked.
WK100
#36484848Thursday, November 04, 2010 2:41 PM GMT

Collectgarbage() has undergone a change just like _G.
matt1020304050
#36484969Thursday, November 04, 2010 2:51 PM GMT

Hmm good thing I never really use Globals.
WK100
#36484998Thursday, November 04, 2010 2:52 PM GMT

Script 1: shared.Lol = function(p) print(string.reverse(p)) end Script 2: shared.Lol(Ohaider) > rediahO
matt1020304050
#36485043Thursday, November 04, 2010 2:55 PM GMT

Why did you post tjhat? ;P
WK100
#36485079Thursday, November 04, 2010 2:57 PM GMT

'Hmm good thing I never really use Globals' Thats why =]
matt1020304050
#36485115Thursday, November 04, 2010 2:58 PM GMT

I know how too use them I just don't use them because if I ever need too I use some other methods that are more reliable.
WK100
#36485135Thursday, November 04, 2010 3:00 PM GMT

That may be true. They're also useful for testing. Thats why I love them. Run the script from your command bar =D
matt1020304050
#36485173Thursday, November 04, 2010 3:02 PM GMT

Ohh umm well. You forgot too make the word a string (Quotes for strings) shared.Lol = function(p) print(string.reverse(p)) end Script 2: shared.Lol("Ohaider") -- :)
WK100
#36485225Thursday, November 04, 2010 3:05 PM GMT

Oops. Typoed. Thought I already did that. Thxs for fixing xD
matt1020304050
#36485245Thursday, November 04, 2010 3:06 PM GMT

np and sorry for arguing with anyone on this forum I obviously fail.
WK100
#36485306Thursday, November 04, 2010 3:10 PM GMT

It's fine. As long as I don't start becoming really mad or start to rage, everything is fine here.

    of     1