Talk:Global Functions: Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy No edit summary |
>Camoy No edit summary |
(No difference)
|
Revision as of 21:22, 23 September 2010
_G is no longer available. Is this not correct? Camoy • Contribs (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)
Example
_G.foo = "bar" print(foo) -- bar
--Camoy • Contribs (September 23 2010) 21:22, 23 September 2010 (UTC)