Re: [fpc-pascal]Problem of ParamStr

2003-02-19 Thread Michael Van Canneyt
On Wed, 19 Feb 2003, milimeter wrote: > Hello, everybody > > I wrote the following code in program foo.pp: > > > writeln(ParamStr(1)); > < > And when I run it with a parameter "foo *.txt", I mean to get "*.txt", but > unfortunately, it prints out "test.txt", where test.txt

[fpc-pascal]Problem of ParamStr

2003-02-19 Thread milimeter
Hello, everybody I wrote the following code in program foo.pp: > writeln(ParamStr(1)); < And when I run it with a parameter "foo *.txt", I mean to get "*.txt", but unfortunately, it prints out "test.txt", where test.txt is a file under the same directory. I know the shell e