Welcome!

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

SignUp Now!

Fixed Rexx .cmd files no longer work in TCC 20

Oct
73
1
None of my extensive collection of Rexx scripts run in version 20, but did so in 19. I'm using the supported ooRexx interpreter 4.2.0 (2014, the latest).

Apparently TCC 20 isn't recognizing "/*" as the first 2 characters in the file and tries to run it as a Windows batch file. Maybe it's not checking at all.

Error messages stream across the screen and the TCC window crashes, which is not a surprise under the circumstances. Here is a fragment of the error stream captured via stderr:

TCC: C:\Bin\cpdesc.cmd [23] Unknown command "/*"
TCC: C:\Bin\cpdesc.cmd [24] Unknown command "/*"
TCC: C:\Bin\cpdesc.cmd [25] Unknown command "/*"
TCC: C:\Bin\cpdesc.cmd [26] Unknown command "/*"
TCC: C:\Bin\cpdesc.cmd [27] Unknown command "/*"
TCC: C:\Bin\cpdesc.cmd [28] Unknown command "/*"
TCC: C:\Bin\cpdesc.cmd [29] Unknown command "/*"
TCC: C:\Bin\cpdesc.cmd [30] Unknown command "/*"
TCC: C:\Bin\cpdesc.cmd [31] Unknown command "/*"
TCC: C:\Bin\cpdesc.cmd [32] Unknown command "/*"
TCC: C:\Bin\cpdesc.cmd [33] Unknown command "/*"
TCC: C:\Bin\cpdesc.cmd [35] Unknown command "rxFuncAdd"
TCC: C:\Bin\cpdesc.cmd [36] Unknown command "sysloadfuncs"
TCC: C:\Bin\cpdesc.cmd [38] Unknown command "Vers"
TCC: C:\Bin\cpdesc.cmd [39] Unknown command "SubVers"
TCC: C:\Bin\cpdesc.cmd [41] Unknown command "/*"
TCC: C:\Bin\cpdesc.cmd [42] Unknown command "parse"
C:\Bin\cpdesc.cmd [45] Usage : IF [/I] [NOT] condition [.AND. | .OR. | .XOR. [NOT] condition ...] command
TCC: C:\Bin\cpdesc.cmd [45] Unknown command "file1"
TCC: C:\Bin\cpdesc.cmd [45] Unknown command "file1"
TCC: C:\Bin\cpdesc.cmd [47] Unknown command "say"
TCC: C:\Bin\cpdesc.cmd [48] Unknown command "say"
TCC: C:\Bin\cpdesc.cmd [49] Unknown command "say"

Hopefully this will be fixed at some point. Meantime I'm still using TCC 19.
 
Last edited:
I still use v 20, but resort to using 4nt v 8.0 when i need this. Most of my Extprocs run to rexx scripts.
 

Similar threads

Replies
0
Views
1K
Back
Top