Example: int

In the following example, each element in the array of characters, character_set, is converted to lower case. The for loop that searches through the array is indexed by an int, i, which increments at the beginning of each loop.

    char character_set[] = {'A', '5', '$', 'Z'};
    int i;
    for (i=0; i<4; i++)
         lr_output_message ("%c ", tolower(character_set[i]));
Example: Output:
Action.c(7): a
Action.c(7): 5
Action.c(7): $
Action.c(7): z