LCASE$
Revision as of 20:42, 21 September 2017 by imported>SMcNeill (style guidelines)
The LCASE$ function outputs an all-lowercase version of a STRING.
Contents
Syntax
- result$ = LCASE$(text$)
Description
- Normally used to guarantee that user input is not capitalized.
- Does not affect non-alphabetical characters.
Examples
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