[fpc-pascal] Known issue with 1.9.4 [2004/05/30] for i386 on Linux?

Marcel Martin mm10 at ellipsa.net
Wed Sep 29 22:33:24 CEST 2004


Alan Mead a écrit :
> 
> I don't know if this is really a bug or whether it's known... I have
> this line of code:
> 
>   while ( (i<=Length(fmt)) and (NOT fmt[i] IN ['0'..'9']) ) do
> inc(i);
> 
> It compiles fine but I get a RTE:
> 
> An unhandled exception occurred at 0x0807B180 :
> EVariantError : Invalid variant operation
>   $0807B180
>   $BFFFF980
> 
> Funny thing is, I enabled line numbers with '-gl'... And the error
> message makes no sense to me.. After staring at that line of code for
> a while, I put parens around the "fmt[i] IN ['0'..'9']" and all was
> well:
> 
>   while ( (i<=Length(fmt)) and (NOT (fmt[i] IN ['0'..'9'])) ) do
> inc(i);
> 
> So, that seems to be a bug to me... Shall I report it or is it known
> (or am I wrong that it's a bug)?

Sorry, I didn't understand the end of your post. It would be
much easier in French :-))

-- 
mm
http://www.ellipsa.net/
mm at ellipsa.no.sp.am.net  ( suppress no.sp.am. )




More information about the fpc-pascal mailing list