Difference between revisions of "Xpcall"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
`pcall` function f with new error handler err.
+
<translate>[[[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.
+
The operations related to coroutines comprise a sub-library of the basic library and come inside the table coroutine.</translate>
 
<source lang="lua">
 
<source lang="lua">
 
  xpcall(f,err)
 
  xpcall(f,err)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''f''': (function) pcall function <br/>
+
'''f''': (function) <translate>pcall function</translate> <br/>
'''err''': (string) error message <br/>
+
'''err''': (string) <translate>error message</translate> <br/>

Revision as of 14:34, 23 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