I'm used to writing for loops with the iterating variable declared inside the for() statement,
as in GCC/C99/C++, but with CCS, code like this
for(int x=0; x<3; x++) { x++; }
wouldn't compile, saying
error: expected an expression
error: identifier "x" is undefined
I'm using Code Generation Tools v7.3.4 with --gcc switch enabled. Any ideas how to allow the above syntax?
If it's not available, how can I request this enhancement to be included in the future versions?
Thanks.