1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-01 13:50:36 +00:00
QB64-PE/internal/help/UCASE$_11111$.txt
Roland Heyder aeb9c0668b Updates help files for use with new Wiki parser (2nd try)
Note: Many files were removed (not yet existing/empty pages). The parser will try to download them on demand and will auto-generate text for missing pages (eg. most _gl pages).
2022-05-21 00:18:31 +02:00

33 lines
760 B
Plaintext

{{QBDLDATE:05-20-2022}}
{{QBDLTIME:23:17:10}}
The [[UCASE$]] function outputs an all-uppercase version of a [[STRING]].
{{PageSyntax}}
:{{Parameter|result$}} = [[UCASE$]]({{Parameter|text$}})
{{PageDescription}}
* Used to guarantee that all alphabetical characters in a [[STRING]] are capitalized.
* Does not affect non-alphabetical characters.
{{PageExamples}}
''Example:'' The following code guarantees that all letter key entries are capitalized:
{{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}}
* [[LCASE$]] {{text|(lower case)}}
* [[INKEY$]]
* [[INPUT$]]
{{PageNavigation}}