As someone who would like to write code that can be easily understood by users of other 80s computer systems, I prefer to write my scripts in BASIC. I've been using Bywater BASIC from the FreeDOS distribution, and it's quite good up until you want to start considering the outside world.
In my particular example, SHELL() is supposed to return the exit code of the program that you tell it to run, but it seems to always return 0. I tried my damnedest looking at the source code for this program, but it is perhaps the messiest code I have ever looked at (and I've looked at mathematicians' code which is a sight to behold). I spent at least 2 hours digging and couldn't even find where the actual work was being done to execute these external commands, much less what is done with the exit code. I'll spare you my full rant about how bad it is in there. Anyway, are there any other decent BASIC interpreters to be found? My requirements are: a free software license, ability to run external commands, ability to run on 16-bit systems. Happy Hacking, David E. McMackins II Supporting Member, Electronic Frontier Foundation (#2296972) Associate Member, Free Software Foundation (#12889) www.mcmackins.org www.delwink.com www.eff.org www.gnu.org www.fsf.org ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel