Difference between revisions of "Xpcall"
From GiderosMobile
| Line 1: | Line 1: | ||
| __NOTOC__ | __NOTOC__ | ||
| − | '''Available since:''' Gideros 2011.6<br/> | + | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> | 
| − | === Description === | + | === <translate>Description</translate> === | 
| <translate>[[Special:MyLanguage/pcall|pcall]] function f with new error handler err. | <translate>[[Special:MyLanguage/pcall|pcall]] function f with new error handler err. | ||
| The operations related to coroutines comprise a sub-library of the basic library and come inside the table coroutine.</translate> | The operations related to coroutines comprise a sub-library of the basic library and come inside the table coroutine.</translate> | ||
| Line 7: | Line 7: | ||
|   xpcall(f,err) |   xpcall(f,err) | ||
| </source> | </source> | ||
| − | === Parameters === | + | === <translate>Parameters</translate> === | 
| '''f''': (function) <translate>pcall function</translate> <br/> | '''f''': (function) <translate>pcall function</translate> <br/> | ||
| '''err''': (string) <translate>error message</translate> <br/> | '''err''': (string) <translate>error message</translate> <br/> | ||
Revision as of 07:28, 24 August 2018
Available since: Gideros 2011.6
Description
pcall function f with new error handler err. The operations related to coroutines comprise a sub-library of the basic library and come inside the table coroutine.
 xpcall(f,err)
Parameters
f: (function) pcall function 
err: (string) error message 
