Example: continue

In the following example, continue is called when the index variable i reaches the number 2. When it does, it skips the call to lr_output_message and continues to the next iteration of the for loop.

    int i;
    for (i=0; i<5; i++) {
        if (i==2)
            continue;
        lr_output_message ("%i",i);
    }
Example: output:
Action.c(9): 0
Action.c(9): 1
Action.c(9): 3
Action.c(9): 4