From QB64 Wiki
Revision as of 20:42, 21 September 2017 by imported>SMcNeill (style guidelines)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The LCASE$ function outputs an all-lowercase version of a STRING.


result$ = LCASE$(text$)


  • Normally used to guarantee that user input is not capitalized.
  • Does not affect non-alphabetical characters.


Example: The following code guarantees that all user letter entries will be lower case:

PRINT "Do you want to continue? (y/n)" DO K$ = LCASE$(INKEY$) LOOP UNTIL K$ = "y" OR K$ = "n"

See also

Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page