Welcome!

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

SignUp Now!

Why does TCCRT return VIEW as an internal command?

Aug
1,915
68
Code:
c:\users\jlc\utils>"C:\Program Files\JPSoft\TCC_RT_22\tcc.exe" /I /Q /C ver

TCC-RT  22.00.40 x64   Windows 7 [Version 6.1.7601]

c:\users\jlc\utils>"C:\Program Files\JPSoft\TCC_RT_22\tcc.exe" /I /Q /C if isinternal view echo Yes
Yes

My work around for this is to use;
Code:
iff %_TCCRT eq 0 then
 view thefile.txt
else
 list thefile.txt
endiff
but still, why does TCCRT return VIEW as an internal command, when VIEW is not part of TCC-RT?

Joe
 
It looks like VIEW is a valid and active command in TCC-RT. VIEW /? dumps text to stdout. So perhaps not "disabled" so much as "pithed".
 
Not surprising. V is a licensed product. I don't know the details, but presumably Rex has to pay for every copy he ships. TCC-RT is free, so including the .DLL would be a 100% loss. (I did the math.) Dunno why the internal-command bit isn't disabled, though.

Code:
if %_tccrt == 1 alias view=list
 

Similar threads

Back
Top