Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1743

COMMENT/ENDCOMMENT doesn't work within a SWITCH statement

$
0
0
TCC (x64) Version 31.00 Build 10 [31.00.10]
Microsoft Windows 11 Home (21H2) [10.0.22000.2482]

I stumbled on this when debugging a SWITCH statement and I wanted to comment out one of the CASE parts for testing. If you comment out a CASE by using REM at the start of each line it works as expected and it's as if that CASE doesn't exist within the SWITCH when executed. However, if you surround the CASE with a COMMENT/ENDCOMMENT it isn't handled by the SWITCH processing and an error occurs...

Read more

Viewing all articles
Browse latest Browse all 1743

Trending Articles