BBS: Inland Empire Archive Date: 12-24-92 (15:38) Number: 285 From: LUIS ESPINOZA Refer#: NONE To: JEFFERY FOY Recvd: NO Subj: 4DOS and detecting it Conf: (2) Quik_Bas
On (21 Dec 92) Jeffery Foy wrote to All...
JF> I'd like to add 4DOS support in a program that I'm writing. How can
JF> you
JF> detect it from BASIC? Is there a special call or something? I thought
JF> about just looking for 4DOS.COM in the PATH but that seems a bit
JF> tacky.
JF>
Try something like:
a$=Environ$("COMSPEC")
if instr(a$,"4DOS") then FFos=1 else FFos=0
Luis
--- PPoint 1.33
* Origin: The Rubber Room (1:207/213.5)

Books at Amazon:
Back to BASIC: The History, Corruption, and Future of the Language
Hackers: Heroes of the Computer Revolution (including Tiny BASIC)
Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution
The Advent of the Algorithm: The Idea that Rules the World
Moths in the Machine: The Power and Perils of Programming
Mastering Visual Basic .NET