[fpc-pascal] It is possible to pass command line to pascal

Johan Tu Toit johan.tutoit at gmail.com
Sat Jun 29 23:24:44 CEST 2013


Yes



On Sat, Jun 29, 2013 at 10:42 PM, Rainer Stratmann <
rainerstratmann at t-online.de> wrote:

>  On Saturday 29 June 2013 22:40:21 you wrote:
> > On 29.06.2013 21:27, Johan Tu Toit wrote:
> > > Hi all,
> > >
> > > It is possible to pass command line to pascal:
> > > Example:
> > > ls uname -r
> >
> > You can pass parameters to any program. But maybe your question is more
> > like "how do I access these parameters?". To answer this, please take a
> > look at the documentation:
> > http://www.freepascal.org/docs-html/rtl/system/paramstr.html
> > http://www.freepascal.org/docs-html/rtl/system/paramcount.html
>
> May be he means to execute a command in a shell. ?
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130629/75faa9f3/attachment.html>


More information about the fpc-pascal mailing list