[fpc-pascal] It is possible to pass command line to pascal
Sven Barth
pascaldragon at googlemail.com
Sat Jun 29 22:40:21 CEST 2013
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
Regards,
Sven
More information about the fpc-pascal
mailing list