-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Look at ParamCount and ParamStr in the docs; a quick google search found it here:
http://rush3d.com/reference/gpc-20040516/ParamCount.html
There is also a page on this (again, a quick Google search):
http://rush3d.com/reference/gpc-20040516/Accessing-Command-Line- Arguments.html
On May 6, 2005, at 9:40 AM, Rick Engebretson wrote:
I've been trying to learn how one would use pascal programs to be used in shell scripts.
The original pascal used the program header to specify such input, output interfaces. ie;
Program foo(input, output, file1, file2) ;
The input and output are the standard in, out but are text file types. TurboPascal on DOS mostly forgot about this.
Building shell commands with pascal seems promising.
- ----------------------------------------------------------- Frank D. Engel, Jr. fde101@fjrhome.net
$ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $
___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com