UCASE$
Revision as of 20:49, 21 September 2017 by imported>SMcNeill (style guidelines)
The UCASE$ function outputs an all-uppercase version of a STRING.
Contents
Syntax
- result$ = UCASE$(text$)
Description
- Used to guarantee that all alphabetical characters in a STRING are capitalized.
- Does not affect non-alphabetical characters.
Examples
Example: The following code guarantees that all letter key entries are capitalized:
PRINT "Do you want to continue? (y/n)" DO K$ = UCASE$(INKEY$) LOOP UNTIL K$ = "Y" OR K$ = "N"
See also