run_level

Format:
run_level(void)
Result:
Number
Description:
Returns the calling depth. The result is 0, if the function is invoked from the command line, 1 in a command file and 2, if the file was called from another command file, etc.