The ToUpperr procedure converts alphabetic characters to uppercase using a language-safe translation table.
The ToUpper procedure is a wrapper procedure for the internal-use only CvtCase procedure. ToUpper simply calls CvtCase with the second parameter set to CC_TOUPPER.
varying-char-value ToUpper( szInputString 32766A Const Varying |
If the function succeeds, the return value is the uppercase equivalent of the szInputString parmaeter. If the function fails, no value is returned.
.....DName+++++++++++EUDS.......Length+TDc.Functions+++++++++++++++++++++++++
D Company S 50A Inz('Lunar Spacecraft Company')
.....CSRn01..............OpCode(ex)Extended-factor2++++++++++++++++++++++++++
C if ToUpper(Company) = ToUpper(CM_CustName)
C Write CustList
C endif
This procedure uses the QlgConvertCase API to do the conversion using a language-safe translation table.