Share this page

# int

Defines a signed integer variable. (Unless a Type-Specifier is used such as `long int`).

## Example

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.

Copy code

        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

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