====== GetSessionCallStack Function ====== ==== Description ==== Whenever a run-time error occurs, the call stack is recorded for that session. The GetSessionCallStack function will return the last recorded call stack for that session. ==== Syntax ==== CallStack = GetSessionCallStack() ==== Parameters ==== The function does not accept parameters. ==== Returns ==== A dynamic array of fields of the last recorded call stack in the following format: First Program Name = CallStack<1,1> First Program Line = CallStack<1,2> Second Program Name = CallStack<2,1> Second Program Line = CallStack<2,2>