Talk:Global Functions: Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Sncplay42 No edit summary |
>Camoy No edit summary |
||
Line 14: | Line 14: | ||
::::They made _G like the shared table except its named _G? Is the shared table still up? <sup><small><font color="grey">[[User:Camoy|Camoy]] • [[Special:Contributions/Camoy|Contribs]] (September 23 2010)</font></small></sup> | ::::They made _G like the shared table except its named _G? Is the shared table still up? <sup><small><font color="grey">[[User:Camoy|Camoy]] • [[Special:Contributions/Camoy|Contribs]] (September 23 2010)</font></small></sup> | ||
:::::Yes it is. --[[User:Sncplay42|SNCPlay42]] 21:27, 23 September 2010 (UTC) | :::::Yes it is. --[[User:Sncplay42|SNCPlay42]] 21:27, 23 September 2010 (UTC) | ||
::::::Just for documentation purposes, what was the date in which _G was removed, and what was the date that it returned in this new form? Also, what was the official worry about _G? <sup><small><font color="grey">[[User:Camoy|Camoy]] • [[Special:Contributions/Camoy|Contribs]] (September 23 2010)</font></small></sup> |
Revision as of 21:28, 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)
- No, that's the only functionality that's removed. --SNCPlay42 21:23, 23 September 2010 (UTC)
- I am serious, and _G is functional. I never said anything about being fully functional. It's definitely functional, though.