Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!uunet!mcsun!tuvie!vmars!hp From: hp@vmars.tuwien.ac.at (Peter Holzer) Newsgroups: comp.os.msdos.misc Subject: Re: switchar anyone? Message-ID: <1784@tuvie> Date: 30 Aug 90 14:39:38 GMT References: <3388@ecs.soton.ac.uk> Sender: news@tuvie Distribution: comp Lines: 22 mrd@ecs.soton.ac.uk (Mark Dobie) writes: >Is switchar still supported in the latest MSDOS/PCDOS? I have heard they have abandoned it in DOS 4.0 (I don't have 4.0, so I cannot check this). It does not work in OS/2's DOS-box (But who uses OS/2 anyway :-) >And, of course, many programs don't bother checking it. Even PCDOS >utilities like xcopy and tree. If only people like Microsoft and >Borland provided a getopt function for option argument processing, >then it could do the checking. Borland does! On the distribution disks of Turbo-C 2.0 is a file getopt.c, which does use the switchar (It was there all the time since 1.0, if I remember correctly). -- | _ | Peter J. Holzer | Think of it | | |_|_) | Technische Universitaet Wien | as evolution | | | | | hp@vmars.tuwien.ac.at | in action! | | __/ | ...!uunet!mcsun!tuvie!vmars!hp | Tony Rand |