010 Editor "for" isn't syntactically identical to C "for"

In the 010 Editor help under for Statements it is said:

The standard C for statement can be used in any Script or Template in the form 'for( <initialization>; <condition>; <increment> ) <statement>'. For example: 
     for( i = 0, x = 0; i < 15; i++ )
     {
         x += i;
     }

But I believe this is not precisely true. Standard C syntax allows the following, which compilers will compile without error, but 010 Editor yields a syntax error:

    for(;;){;}
1 Like

Yes, you are correct that ‘for(;;)’ is not currently allowed and we’ll see if we can add this in a future version. Cheers!

Graeme
SweetScape Software

1 Like