We are tearing our hair out on multiple compiler bugs.  The latest 
one is where the for loop variable has the wrong initial value....

for I := 0 to object.items.count-1

the initial value is 1, not 0.  

On one machine, if the type of I is changed from integer to smallint 
or longint, then it works fine.  On another it does not no matter 
what you do.

Has anyone come across this before ?  I seem to recall there was 
a reported bug in for loop because of its translation to C construct.



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

Reply via email to