Path: utzoo!utgpu!news-server.csri.toronto.edu!torsqnt!lsuc!canrem![caius.tenche@canrem.uucp] From: "caius tenche" Newsgroups: comp.lang.pascal Subject: program switches Message-ID: <1991May17.1009.3048@canrem.uucp> Date: 17 May 91 14:25:25 EST Reply-To: "caius tenche" Distribution: comp Organization: Canada Remote Systems In article <1991May6.141707.19543@ux1.cso.uiuc.edu> husak@ux1.cso.uiuc.edu (BugsBunny) writes BY>This may be too technical for this group but here it goes.... (or beyond BY>the scope of Pascal) BY>Is there a way to write a program or a way to read the switches used BY>behind executable names of files... For example: BY> program /v BY> How does one read the '/v' on the end or is it beyond BY> the scope of Pascal.... This is after compilation of BY> course. Too technical, I think not. This is very basic indeed. If you're using Turbo Pascal, check out the ParamCount and ParamString functions. If not, then you must find the programs PSP and get the command line parameters (switches) from there. Too technical, baaahhh! Ttyl, Caius UUCP: lsuc!canrem!caius.tenche InterNet: caius.tenche%canrem@lsuc.on.ca --- þ DeLuxeý 1.1 #7470 þ Detailed instructions provided with all new socks. -- Canada Remote Systems. Toronto, Ontario NorthAmeriNet Host