Talk:Global Functions

From Legacy Roblox Wiki
Revision as of 21:21, 23 September 2010 by >Camoy
Jump to navigationJump to search

_G is no longer available. Is this not correct? CamoyContribs (September 23 2010)

It works fine if you put _G. before writing to and reading from it. --SNCPlay42 21:18, 23 September 2010 (UTC)
_G is available. And it is functional.
_G.x=9
repeat wait() until _G.x; local x=_G.x; print(x)
Posted by blocco (talk) on Sep 23, 2010 (Thursday) at 21:20 (UTC) [Discuss format]
Are you serious blocco? CamoyContribs (September 23 2010)
Can you do this:
Example
_G.foo = "bar"
print(foo) -- bar
CamoyContribs (September 23 2010)