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

Rainer Stratmann rainerstratmann at t-online.de
Sat Jun 29 22:42:43 CEST 2013


 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. ?



More information about the fpc-pascal mailing list