Programming

Any ideas?

The command colouring in the IDE is notoriously flakey. The colour of the text makes no difference to the editor or the compiler.

Advice : ignore the colour or lack of it.

Does the code compile and does the for loop work ?