CallStackGet
Returns an array of structs by default of the current tag context.
Each struct contains template name, line number, and function name (if applicable). This is a snapshot of all function calls or invocations.
Method Signature
CallStackGet(maxFrames=[integer])Arguments
Argument
Type
Required
Description
Default
maxFrames
integer
false
-1
Examples
Tag Syntax
This example the factorial of a number is computed.
<!--- callfact.bxm --->
<bx:try>
<bx:include template="fact.bxm">
<bx:catch type="any">
<bx:output>
#bxcatch.MESSAGE#
<br>#bxcatch.DETAIL#<br>
</bx:output>
</bx:catch></bx:try>Script Syntax
This example the factorial of a number is computed.
Additional Examples
Related
Last updated
Was this helpful?
