PreviousNextIndex

CAPS function

Converts any lowercase characters in a CHARACTER or LONGCHAR expression to uppercase characters, and returns the result.

Syntax

CAPS ( expression ) 

expression
Example

In the following code example, the CAPS function converts the characters in the state field to uppercase:

r-caps.p
REPEAT: 
  PROMPT-FOR Customer.CustNum. 
  FIND Customer USING Customer.CustNum. 
  UPDATE Customer.Name Customer.Address Customer.City Customer.State. 
  Customer.State = CAPS(Customer.State). 
  DISPLAY Customer.State. 
END. 

Notes
See also

LC function


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex