Click or drag to resize

ErrorStack Function (StackTrace, DWord)

X#
Return the error stack as a string.

Namespace:  XSharp.Core
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax
 FUNCTION ErrorStack(
	oStackTrace AS StackTrace,
	wActivation AS DWORD := 1
) AS STRING
Request Example View Source

Parameters

oStackTrace
Type: StackTrace
StackTrace object to convert to an error stack string
wActivation (Optional)
Type: DWord
Starting level. Defaults to 1.

Return Value

Type: String
The error stack with line numbers. In the VO and Vulcan dialect the stack is in "VO Format"
See Also