1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-05 22:50:23 +00:00
QB64-PE/internal/help/LCASE$_11111$.txt
Roland Heyder 6912727753 Update help files
Help file snapshot as of 07/31/2022.
2022-07-31 23:57:56 +02:00

32 lines
742 B
Plaintext

{{QBDLDATE:07-31-2022}}
{{QBDLTIME:23:42:58}}
The [[LCASE$]] function outputs an all-lowercase version of a [[STRING]].
{{PageSyntax}}
:{{Parameter|result$}} = [[LCASE$]]({{Parameter|text$}})
{{PageDescription}}
* Normally used to guarantee that user input is not capitalized.
* Does not affect non-alphabetical characters.
{{PageExamples}}
''Example:'' The following code guarantees that all user letter entries will be lower case:
{{CodeStart}}{{Cl|PRINT}} "Do you want to continue? (y/n)"
{{Cl|DO...LOOP|DO}}
K$ = {{Cl|LCASE$}}({{Cl|INKEY$}})
{{Cl|DO...LOOP|LOOP}} {{Cl|DO...LOOP|UNTIL}} K$ = "y" {{Cl|OR}} K$ = "n"
{{CodeEnd}}
{{PageSeeAlso}}
* [[UCASE$]] {{text|(upper case)}}
* [[INKEY$]]
* [[INPUT$]]
{{PageNavigation}}