Function CallerLine(Depth)

CallerLine

The function CallerLine returns the line of a node that is on the current execution stack.

CallerLine(
     Depth       ! (optional) scalar element parameter
     )

Arguments

Depth

An numeric optional expression with default 1. The value should be in the range \(\{ 1 \ldots\) CallerNumberOfLocations \(\}\). The value 1, refers to the caller of the currently running procedure.

Return Value

This function returns a line number.