1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-03 13:31:23 +00:00
QB64-PE/internal/help/UCASE$.txt

28 lines
618 B
Plaintext

The {{KW|UCASE$}} function changes the lowercase letters of a {{KW|STRING}} to uppercase.
{{PageSyntax}}
:''result$'' = {{KW|UCASE$}}({{Parameter|text$}})
{{PageDescription}}
* Normally used to guarantee that user input is capitalized.
* Will not affect non alphabet string characters.
{{PageExamples}}
:The following code
{{CodeStart}}{{Cl|PRINT}} "Do you want to continue? (y/n)"
{{Cl|DO...LOOP|DO}}
K$ = {{Cl|UCASE$}}({{Cl|INKEY$}})
{{Cl|DO...LOOP|LOOP}} {{Cl|DO...LOOP|UNTIL}} K$ = "Y" {{Cl|OR}} K$ = "N"
{{CodeEnd}}
{{PageSeeAlso}}
* {{KW|LCASE$}}
{{PageNavigation}}