Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uwm.edu!lll-winken!sun-barr!newstop!jethro!grendal.Sun.COM!acm From: acm@grendal.Sun.COM (Andrew MacRae) Newsgroups: comp.lang.pascal Subject: Re: Turbo P V5.5--Receiving parameters from the command line. Keywords: Command line Message-ID: <1278@jethro.Corp.Sun.COM> Date: 2 May 90 00:34:20 GMT References: <1990Apr27.203354.993@watdragon.waterloo.edu> Sender: news@jethro.Corp.Sun.COM Reply-To: acm@grendal.EBay.Sun.COM (Andrew MacRae) Distribution: comp Organization: Sun Microsystems, Inc. Mt. View, Ca. Lines: 21 In article <1990Apr27.203354.993@watdragon.waterloo.edu> gcreesor@lotus.uwaterloo.ca (Glen Reesor) writes: >I would like to have a program compiled using TP5.5 read parameters on >the command line entered after the program name. For example, in >running the program demo you may specify options: > > a:>demo /b > >i.e. I want my program to beable to read the '/b'. The technique is rather clearly documented (with examples) in the manual that comes with the software. Have you lost your copy or are just unable to find it in the index? After all there is no way you could have gotten a copy of the compiler without getting a copy of the manual is there? Andrew C. MacRae Standard Disclaimer: My submissions to net news are in no way associated with my employer.