Has the compiler decided to do a Downto instead??
It can depending on the loop variable usage - have not seen it happen myself
yet.

I always check the disassembled code when I have one of these issues to see
what is actually wrong - compiler or debugger - Has always turned out to be
the debugger every time.

Myles.

> -----Original Message-----
> From: Rohit Gupta [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 04, 2000 12:14 PM
> To: Multiple recipients of list delphi
> Subject: [DUG]: Another D5 compiler bug ?
> 
> 
> Has anyone come across a compiler bug in D5..
> 
> 
> for I := 0 to StringList.Count-1
> do blah blah..
> 
> I starts at 1.  No, its not optimization, thats turned off.  the code 
> does not infact execute for I = 0, its not the IDE debugger either.
> 
> These bugs are starting to get scary.
> 
> Regards
> 
> Rohit
> 
> ======================================================================
> CFL - Computer Fanatics Ltd.  21 Barry's Point Road, AKL, New Zealand
> PH    (649) 489-2280 
> FX    (649) 489-2290
> email [EMAIL PROTECTED]  or  [EMAIL PROTECTED]
> ======================================================================
> 
> --------------------------------------------------------------
> -------------
>     New Zealand Delphi Users group - Delphi List - 
> [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED] 
> with body of "unsubscribe delphi"
> 
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to