Then I think the strategy should be not to use system() since BASIC
should be able to do anything the shell can do internally anyway.
Happy Hacking,
David E. McMackins II
Supporting Member, Electronic Frontier Foundation (#2296972)
Associate Member, Free Software Foundation (#12889)
www.mcmacki
On Sun, 15 Jul 2018, TK Chia wrote:
Regarding bwBASIC's SHELL( ) problem, I believe this is because the
interpreter (in bwb_fnc.c in v3.20) uses system( ) to implement it, and both
Watcom's system( ) function and `command.com /c' will return 0 as long as
command.com is able to run at all.
GW
Hello Mr. McMackins,
I guess I am a little late with this --- but I had recently been
checking out some existing BASIC implementation projects, and I think
there might be a few BASICs which can be ported, with some effort.
For example there is the "Minimal BASIC Compiler"
(http://buraphakit.