🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #8615

Re: Argv[0] in TURBO PASCAL

#8615
From: Jon Meltzer
Date: Wed, 29 Oct 1986 17:43
22 lines
1392 bytes
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
Technical Details
Message-ID: <202@vax1.ccs.cornell.edu>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rochester!cornell!vax1!jsm
References: <623@A60.UUCP> <2444@gitpyr.gatech.EDU> <1637@ihuxy.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!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