Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Shouldn't ErrorLevel Show Up In Environment Variables

Jan
179
2
Shouldn't ErrorLevel show up In Environment Variables or somewhere? I don't see it anywhere. I can add it to Watch but I would think it should be there.

CMDebug 36.50.59
 
Look at the lower-left of the BDEBUGGER window,
in the Watch tab.

1781050519157.webp


Ref: _? TCC internal variable
Ref:
? TCC internal variable

Joe
 
Last edited:
So you shouldn't see it?

That's correct. There are several hundred internal variables in TCC; if they were all displayed you wouldn't have room to see anything else.

The watch list by default shows the ? variable (same as ERRORLEVEL) and _? (error return for internal TCC commands).

If you're interested in specific internal variables, you can add them to the watch list.
 
That's correct. There are several hundred internal variables in TCC; if they were all displayed you wouldn't have room to see anything else.

The watch list by default shows the ? variable (same as ERRORLEVEL) and _? (error return for internal TCC commands).

If you're interested in specific internal variables, you can add them to the watch list.
I'm intereseted in 1 that's pretty standard fare for Batch Scripts.
 
I loaded my script after I deleted the *.bp and the *.watch. There's nothing in any of the tabs but environment. I loaded 2 other scripts and the same thing except they both exposed cmdline and cmdline_2.
 
Back
Top