Allowing variable declarations inside the for loop construct is a feature allowed in C++ code, but not C.
[quote user="Snorre Olsen"]when I hit uint8 and "Open declaration" CCS jumps to the hal_types.h file which is the first file i #include.[/quote]
I'm not sure what you are getting at here. I think I need to see an example.
Thanks and regards,
-George