Progress
Language Reference


CAPS Function

Interfaces
OS
SpeedScript
All
All
Yes

Converts any lowercase letters in a character string expression to uppercase characters, and returns the resulting character string.

SYNTAX

CAPS ( expression ) 

expression

A constant, field name, variable name, or expression that results in a character string.

EXAMPLE

In this code, the CAPS function converts the characters in the state field to uppercase.

r-caps.p
REPEAT:
    PROMPT-FOR customer.cust-num.
    FIND customer USING cust-num.
    UPDATE name address city state.
    customer.state = CAPS(customer.state).
    DISPLAY customer.state.
END. 

NOTES

SEE ALSO

LC Function


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095