546
edits
Red Leader (talk | contribs) m (Make a bit clearer) |
m (→caller() typo) |
||
| Line 144: | Line 144: | ||
|text = Returns a vector containing a record from the current call stack. The level numbering starts from the currently executing function (level 0). Level 1 (the default) is the caller of the current function, and so on. The result is a four-element vector containing a hash of local variables, the function object, the source, and the line number. | |text = Returns a vector containing a record from the current call stack. The level numbering starts from the currently executing function (level 0). Level 1 (the default) is the caller of the current function, and so on. The result is a four-element vector containing a hash of local variables, the function object, the source, and the line number. | ||
|param1 = level | |param1 = level | ||
|param1text = Optional integer specifying the stack level to return a result from. Defaults to 1 (the caller of the currently executing function. | |param1text = Optional integer specifying the stack level to return a result from. Defaults to 1 (i.e. the caller of the currently executing function). | ||
|example1 = | |example1 = | ||
var myFunction = func(a, b){ | var myFunction = func(a, b){ | ||
edits