Day 024: LCASE$
#2
This recalls something. If the QB64 IDE could capitalize keywords, why not offer a keyword in the language which does it to a given string? I just did the search function on this forum and was unable to find a routine that does it. I'm sure it was done a few times... by Steve.

Otherwise "LCASE$()" is useful for programs written in BASIC that create C or Lua code, or for any other programming language that must have all keywords in lowercase. There are a surprising amount of programs out there that invent a Lua script out of something else, such as the "Brain___k" interpreter. "UCASE$()" is helpful for reconstructing classic COBOL and Fortran programs LOL.

Use one or the other where letter case shouldn't matter, especially for those lovers of forums unwilling to use [CAPS-LOCK] nor [SHIFT] for any of their writing...
Reply


Messages In This Thread
Day 024: LCASE$ - by Pete - 12-04-2022, 05:17 AM
RE: Day 024: LCASE$ - by mnrvovrfc - 12-04-2022, 12:01 PM
RE: Day 024: LCASE$ - by luke - 12-04-2022, 01:25 PM
RE: Day 024: LCASE$ - by SMcNeill - 12-04-2022, 01:48 PM
RE: Day 024: LCASE$ - by mnrvovrfc - 12-04-2022, 05:57 PM
RE: Day 024: LCASE$ - by SMcNeill - 12-04-2022, 10:47 PM
RE: Day 024: LCASE$ - by Pete - 12-04-2022, 04:10 PM
RE: Day 024: LCASE$ - by Pete - 12-04-2022, 06:47 PM
RE: Day 024: LCASE$ - by SMcNeill - 12-04-2022, 11:16 PM
RE: Day 024: LCASE$ - by Pete - 12-05-2022, 12:59 AM
RE: Day 024: LCASE$ - by luke - 12-05-2022, 07:30 AM
RE: Day 024: LCASE$ - by mnrvovrfc - 12-05-2022, 08:24 AM
RE: Day 024: LCASE$ - by Pete - 12-05-2022, 10:38 AM



Users browsing this thread: 1 Guest(s)