Admin Production ni-theme
Current Publication

toupper

LabWindows/CVI

toupper

int toupper (int characterInput);

Purpose

Converts a lowercase letter to an uppercase letter and returns the converted character. If the character to be converted is not an lowercase letter (A-Z) then no conversion is made and the character is returned unchanged. The input to this function should be a character with integer value between 0 and 255.

Parameters

Input
Name Type Description
characterInput int Contains the character to be converted. If the character to be converted is not a lowercase letter (a-z), no conversion is made and the character is returned unchanged. The input must be a character with integer value between 0 and 255.

Return Value

Name Type Description
characterOutput int Contains the returned converted character. If the character to be converted is not a lowercase letter (a-z), no conversion is made and the character is returned unchanged.

Additional Information

Library: ANSI C Library

Include file: ansi_c.h

LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later

Example

Refer to userint\keyfiltr.cws for an example of using the toupper function.