---+ .TEXT LOWER TO UPPER _This subroutine converts lower case to upper case in a text/alpha field._ <br />%TOC% ---++ Usage: <pre> PASS <converted_text> FIELD SHARE? Y PASS <original_text> FIELD SHARE? N PASS <convert_flag> FIELD SHARE? N GOSUB --- .TEXT LOWER TO UPPER * Check for errors IF --- .TEXT LOWER TO UPPER NE </pre> ---++ Description: This subroutine converts lower case to upper case in a text/alpha field. The first 2 parameters are required. If any required parameters are missing, the subroutine will CANCEL. <converted_field> returns the converted <original_text> (Required). This must be PASSed with Share "Y" to return the value. <original_text> is are the characters you want converted (Required). <convert_flag> controls how the characters will be converted (Optional). If PASSed, it must be one of: * All - convert every character to upper case. * Firstword - convert the character of the first word only. * Allwords - convert the first character of every word If not PASSed, the default value is All. If you don't care about conserving the original data, you can pass the same field for both <converted_field> and <original_text>. Also see [[0LASubrTextUpperToLower][.TEXT UPPER TO LOWER]]. ---++ Comments: _Read what other users have said about this page or add your own comments._ <br />%COMMENT% -- Main.JeanNeron - 2012-02-09
This topic: Main
>
WebHome
>
APPX510Features
>
APPXRuntimeSubroutineAPI
>
0LASubrTextLowerToUpper
Topic revision: r2 - 2012-02-10 - JeanNeron
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback