Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rochester!cornell!vax1!jsm From: jsm@vax1.ccs.cornell.edu (Jon Meltzer) Newsgroups: net.micro.pc Subject: Re: Argv[0] in TURBO PASCAL Message-ID: <202@vax1.ccs.cornell.edu> Date: Wed, 29-Oct-86 12:43:50 EST Article-I.D.: vax1.202 Posted: Wed Oct 29 12:43:50 1986 Date-Received: Thu, 30-Oct-86 22:20:29 EST References: <623@A60.UUCP> <2444@gitpyr.gatech.EDU> <1637@ihuxy.UUCP> Reply-To: jsm@vax1.UUCP (Jon Meltzer) Organization: Cornell Computer Services, Ithaca NY Lines: 22 In article <1637@ihuxy.UUCP> klotz@ihuxy.UUCP (Dave Klotzbach) writes: >> Turbo Pascal does not support equivalent procedures to the argv() >> and argc() functions found in most C (and in some Pascal) libraries. >> >This is not true. Earlier version of TURBO did not have this facility, >but with TURBO version 3.0 and later have supported these through the >function argcnt and the array argstr[].. Argcnt is the number of arguments >on the command line and argstr is the equiv. of *argv[]. > >Since I do not have my handbook with me I may have the names of the function >and array wrong but I have used both off these in my development. > The correct names are ParamCnt and ParamStr. ParamStr is a function, not an array. (For example, ParamStr(1) is the first parameter). -- Jon Meltzer