Talk:Global Functions: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
No edit summary
>Sncplay42
No edit summary
Line 10: Line 10:
print(foo) -- bar
print(foo) -- bar
</pre>}}<sup><small><font color="grey">[[User:Camoy|Camoy]] &bull; [[Special:Contributions/Camoy|Contribs]] (September 23 2010)</font></small></sup>
</pre>}}<sup><small><font color="grey">[[User:Camoy|Camoy]] &bull; [[Special:Contributions/Camoy|Contribs]] (September 23 2010)</font></small></sup>
::::No, that's the only functionality that's removed. --[[User:Sncplay42|SNCPlay42]] 21:23, 23 September 2010 (UTC)

Revision as of 21:23, 23 September 2010

_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)

No, that's the only functionality that's removed. --SNCPlay42 21:23, 23 September 2010 (UTC)