[fpc-pascal] ParamStr(0) buggy?

Florian Klaempfl florian at freepascal.org
Fri Sep 9 10:53:42 CEST 2005


Hans-Juergen Taenzer wrote:

> Luiz Américo wrote:
>  > Hans-Juergen Taenzer wrote:
> 
>  >>
>  >> at the end of ParamStr(0) there is a wrong character.
>  >>
> 
>  > This is fixed in fpc 2.0.1 or 2.1.1
> 
> Sorry, but it isn't.
> 
> I downloaded the newest snapshot (compiler and rtl) with date 9.9.05.
> 
> The error still exists.
c:\fpc>c:\fpc\compiler\ppc386 -n -Fuc:\fpc\rtl\units\i386-win32 test.pas -l
Free Pascal Compiler version 2.1.1 [2005/09/09] for i386
Copyright (c) 1993-2005 by Florian Klaempfl

c:\fpc>test 1 2 3 4
paramstr(0): <c:\fpc\test.exe>
Count other Parms: 4
Other Parms:
<1>
<2>
<3>
<4>



More information about the fpc-pascal mailing list