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.
Result = SCOPE_LEVEL()
Returns an integer specifying the level of the currently running procedure or function.
HELP, SCOPE_VARFETCH, SCOPE_TRACEBACK, SCOPE_VARNAME, ROUTINE_INFO
This information is not subject to the controls of the International Traffic in Arms Regulations (ITAR) or the Export Administration Regulations (EAR). However, it may be restricted from transfer to various embargoed countries under U.S. laws and regulations.
© 2017 Exelis Visual Information Solutions, Inc.