The SCOPE_LEVEL function returns the scope level of the currently running procedure or function.
Note: For more information, see Interpreter Frames, Level, and Variable Scope.
Syntax
Result = SCOPE_LEVEL()
Return Value
Returns an integer specifying the level of the currently running procedure or function.
Arguments
None
Keywords
None
Version History
See Also
HELP, SCOPE_VARFETCH, SCOPE_TRACEBACK, SCOPE_VARNAME, ROUTINE_INFO