"For Loop" problem
When you post code please use the Code button (Alt+S) !
Please EDIT your post and use the CODE button when you post code.
When you post code please use the Code button (Alt+S) !
Please EDIT your post and use the CODE button when you post code.
thank you
I edited my commentIt's working just fine for me ...
void OnStart() { Print( "Start ..." ); for( int i=0; i<8; i++ ) { Print( i ); }; Print( "... Stop" ); };
Results ...
You can also just right-click and us the "Viewer" which also allows you to filter based on dates or keywords.
Also, it is a good practice to use conversion functions with Print().
for ( int i = 0; i < 500; i++ ) { Print( IntegerToString(i) ); // in this case }
@Fernando Carreiro: Thanks for the "Viewer" info. It will be very helpful in the future.





I want to print value of "i" but that is printed incorrectly and it does not start printing from zero
This problem does not exist for loops with repetitions below 100(or 150)