Menu

UCASE$ ?

Michael
2020-02-02
2020-02-03
  • Michael

    Michael - 2020-02-02

    I'm typing in an old BASIC program I wrote back in ~1985.

    I've come across one issue. My program uses a UCASE$ statement to make a string uppercase. That seems to be missing from PC-BASIC :o)

    I wrote it on the original IBM-PC @4.77MHz i8088. I can't recall at all what MS-DOS basic version I used. But everything works except for the UCASE$ statement. And it's a pretty complex program. So I'm surprised that just this command seems to be missing (and the MODE command but that's for the VGA card and likely another story)

    So two questions. Firstly, I searched for an alternate command but couldn't find any uppercase command. Is that really so? :) Secondly, any idea what basic I might have used.

    Thanks!

    Best regards, Michael

     
  • Marc 'BlackJack' Rintsch

    If you miss UCASE$ you may also miss its counter part LCASE$. QBasic/QuickBasic has both. But that's the successor of GW-BASIC, so probably not what you used in the 1980ies.

     
  • Michael

    Michael - 2020-02-03

    I already tried out QBasic but it was quite clearly not the right BASIC dialect :) PC-BASIC seems identical with the exception of UCASE$/LCASE$

     
  • Rob Hagemans

    Rob Hagemans - 2020-02-03

    PC-BASIC implements GW-Basic which didn't have UCASE$ etc. I think perhaps your program was later updated in QBASIC which added these functions but was backwards compatible with GW-Basic

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.