1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-26 08:35:52 +00:00
QB64-PE/internal/help/UCASE$.txt
SMcNeill 6e01fc8dce Altered string compare routines (<,<=,>,>=) so they don't give false results with CHR$(0).
Added new _STRCMP and _STRICMP commands for quick string comparisons.
Cleaned up QB64 to finish removing the QUI (quick user insert) code and folders.
Altered UCASE and LCASE routines to be faster in some situations for us.
2014-09-22 08:19:03 -04:00

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}} &quot;Do you want to continue? (y/n)&quot;
{{Cl|DO...LOOP|DO}}
K$ = {{Cl|UCASE$}}({{Cl|INKEY$}})
{{Cl|DO...LOOP|LOOP}} {{Cl|DO...LOOP|UNTIL}} K$ = &quot;Y&quot; {{Cl|OR}} K$ = &quot;N&quot;
{{CodeEnd}}
{{PageSeeAlso}}
* {{KW|LCASE$}}
{{PageNavigation}}