🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #280

Re: Reading data from command line in TP 5.5 and TP 6.0

#280
From: Norbert Hanke
Date: Fri, 07 Aug 1992 07:28
11 lines
914 bytes
In article <LcH5oB1w164w@yngbld.tfsquad.mn.org> zeta@yngbld.tfsquad.mn.org (Gregory Youngblood) writes:

(some stuff deleted)

>What I'd like to do is something like : 
>   program info info info
>and be able to read the info info info into the program and act upon it.

Very easy and built-in:
ParamCount returns the number of parameters, ParamStr(n) returns the nth 
parameter.
Technical Details
Message-ID: <1992Aug7.072823.25778@bernina.ethz.ch>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!darwin.sura.net!Sirius.dfn.de!chx400!bernina!hanke
References: <LcH5oB1w164w@yngbld.tfsquad.mn.org>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer,comp.lang.pascal
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!darwin.sura.net!Sirius.dfn.de!chx400!bernina!hanke
From: hanke@nessie.cs.id.ethz.ch (Norbert Hanke)
Subject: Re: Reading data from command line in TP 5.5 and TP 6.0
Message-ID: <1992Aug7.072823.25778@bernina.ethz.ch>
Sender: news@bernina.ethz.ch (USENET News System)
Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
References: <LcH5oB1w164w@yngbld.tfsquad.mn.org>
Date: Fri, 7 Aug 1992 07:28:23 GMT
Lines: 11