Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

gwb22c16.zip -- INSTR() not found (Developers)

posted by ecm Homepage E-mail, Düsseldorf, Germany, 05.10.2026, 13:15

> T.K. Chia (and others) did a nice job reassembling the published
> GW-BASIC sources for us. His last binary release seems to be from
> Dec. 16, 2022.
>
> * https://gitlab.com/tkchia/GW-BASIC
>
> I wrote a very quick line-numbered BASIC program just to play around. (It's
> only 68 lines but irrelevant here.)
>
> However, the GWBASIC.EXE does not support INSTR() at all. Which was strange
> to me since it should. I tried looking at the sources, but nothing obvious
> came up.
>
> But I did recall that he mentioned an incompatibility with MASM having its
> own INSTR reserved keyword. So what happened was he auto-translated
> everything to "INSTRC"! And yes, INSTRC() works fine!
>
> I would classify this as a (very tiny) bug.

I added a patch in https://codeberg.org/tkchia/GW-BASIC/issues/15

---
l

 

Complete thread:

Back to the forum
Board view  Mix view
23743 Postings in 2250 Threads, 410 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum