Ok, I get it.  This may explain an unusual problem I have which is why I
asked.  I'll have to code another variable in there somewhere.

Thanks,
Ross.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Sean Cross
Sent: Tuesday, 7 August 2007 15:39
To: NZ Borland Developers Group - Delphi List
Subject: RE: [DUG] for..loop

Never rely on this.  With optimisations on, for loops often start at the
high number and work down.  The variable can also be stuck in a register,
which can be trashed on leaving the loop.

In short, it is undefined.

Regards

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe

Reply via email to