UCASE$ - mkilgore/QB64pe GitHub Wiki

The UCASE$ function outputs an all-uppercase version of a STRING.

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:

DO...LOOP
    K$ = UCASE$(INKEY$)
DO...LOOP DO...LOOP K$ = "Y" OR K$ = "N"

See also


Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page
⚠️ **GitHub.com Fallback** ⚠️