Difference between revisions of "(global)"
Line 2: | Line 2: | ||
'''Supported platforms:''' android, ios, mac, pc<br/> | '''Supported platforms:''' android, ios, mac, pc<br/> | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
− | === Description === | + | === <translate>Description</translate> === |
<translate>Global scope of Lua environment</translate> | <translate>Global scope of Lua environment</translate> | ||
{|- | {|- | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
− | === Methods === | + | === <translate>Methods</translate> === |
[[Special:MyLanguage/assert|assert]] ''<translate>error if v nil or false, otherwise returns v</translate>''<br/> | [[Special:MyLanguage/assert|assert]] ''<translate>error if v nil or false, otherwise returns v</translate>''<br/> | ||
[[Special:MyLanguage/collectgarbage|collectgarbage]] ''<translate>opts: stop, restart, collect, count, step, setpause, setstepmul</translate>''<br/> | [[Special:MyLanguage/collectgarbage|collectgarbage]] ''<translate>opts: stop, restart, collect, count, step, setpause, setstepmul</translate>''<br/> | ||
Line 32: | Line 32: | ||
[[Special:MyLanguage/xpcall|xpcall]] ''<translate>pcall function f with new error handler err</translate>''<br/> | [[Special:MyLanguage/xpcall|xpcall]] ''<translate>pcall function f with new error handler err</translate>''<br/> | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
− | === Events === | + | === <translate>Events</translate> === |
− | === Constants === | + | === <translate>Constants</translate> === |
[[Special:MyLanguage/_G|_G]]<br/> | [[Special:MyLanguage/_G|_G]]<br/> | ||
[[Special:MyLanguage/_VERSION|_VERSION]]<br/> | [[Special:MyLanguage/_VERSION|_VERSION]]<br/> | ||
|} | |} |
Revision as of 07:29, 24 August 2018
Supported platforms: android, ios, mac, pc
Available since: Gideros 2011.6
Description
Global scope of Lua environment
Methodsassert error if v nil or false, otherwise returns v |
EventsConstants |