Share this page

# 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

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: