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

SignUp Now!

TCC hung


At this point TCC is hung, unresponsive and gaining 4KB of working set every few seconds. The variable loop was discovered when it involved %1 but not when it involved %2.
That's not a variable loop. (It's not a smart thing to do, but it's not a variable loop.) It's also not hung, it's chugging along doing what you told it to do. Eventually it will run out of memory and abort the batch file.

The reason it's not treated as a variable loop is because you're prefixing a string (xxx) each time. A variable loop is recognized by the parser when the substitution is identical to the original argument. Even the DWIM parser would have a hard time saving you from yourself with that syntax.

Similar threads