gwb22c16.zip -- INSTR() not found (Developers)
Hello all,
Thanks for the bug report! As I mentioned at Codeberg, I eventually opted to apply a different fix for the INSTR problem. I have uploaded a new binary release at https://codeberg.org/tkchia/GW-BASIC/releases/tag/20261005 .
The trailing ^Z + junk is because the GW-BASIC code as released by Microsoft does file I/O using ancient FCBs, which obligatorily pad files up to some record size (128?).
I had been thinking of updating the code to use file-descriptor-based I/O as supported in MS-DOS 2+ — obviously this is possible! — but I am not familiar enough with the code to know how to do that. Any help in this department will be welcome.
Thank you!
(edit: fixed link to release page)
---
https://codeberg.org/tkchia · https://git.disroot.org/tkchia · 😴 "MOV AX,0D500H+CMOS_REG_D+NMI"
Complete thread:
- gwb22c16.zip -- INSTR() not found - Rugxulo, 04.10.2026, 02:12 (Developers)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- gwb22c16.zip -- INSTR() not found - Rugxulo, 04.10.2026, 23:51
- gwb22c16.zip -- INSTR() not found - ecm, 05.10.2026, 13:15
- gwb22c16.zip -- INSTR() not found - tkchia, 05.10.2026, 18:19
- OT: disroot.org link - ecm, 05.10.2026, 20:11
- OT: disroot.org link - tkchia, 05.10.2026, 20:33
- OT: lfanew meaning - ecm, 05.10.2026, 22:59
- OT: lfanew meaning - tkchia, 06.10.2026, 01:09
- OT: lfanew meaning - ecm, 05.10.2026, 22:59
- OT: disroot.org link - tkchia, 05.10.2026, 20:33
- OT: disroot.org link - ecm, 05.10.2026, 20:11
- gwb22c16.zip -- INSTR() not found - tkchia, 05.10.2026, 18:19
Mix view