For

A for loop is an iterative looping statement which allows a code block to be repeatedly executed. A  statement looks like this: for { } The following code for( i = 0; i < 5; i += 1 ) {   show_message( "Hello!" ) } Would show the message "Hello!" 5 times. would end up as 5, even though you might think the expression would keep it below 5, because the for statement only stops after the expression is not satisfied. While this is the most common use of the for statement it is needless to say other variables can be used, and the structure can be completely different. While bad practice, this is legitimate and perfectly functional code: for( i = 0; i < 5; i += 1 || show_message( "Hello!" ) ) { } In this example, the || operator is used simply to separate two statements. Note that while the show_message function is called the same number of times, it is called with a different set of values of. If the show_message call contained  as an argument, the first example would produce the following messages: 0 1 2 3 4 While the second would give these: 1 2 3 4 5 Note that if this feature is ever what you want, you should use something like this, because it's easier to understand and more normal: for( i = 1; i <= 5; i += 1 ) {   show_message( string( i ) ) }