Share this page

# Example: for

The following example converts all characters in character_set to upper case. The for loop iterates through each character in the string character_set.

        char character_set[] = {'a', '5', '$', 'z'};
        int i;
        for(i=0; i<4; i++)
            {lr_output_message ("%c ", toupper(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 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: