Why does TCCRT return VIEW as an internal command?

#1
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
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
3,599
46
Albuquerque, NM
prospero.unm.edu
#7
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