[DUG] for..loop

Steve Peacocke steve.peacocke at gmail.com
Tue Aug 7 15:31:34 NZST 2007


Break?


Steve
-- 
Steve Peacocke
http://stevepeacocke.blogspot.com/

On 07/08/07, Ross Levis <ross at stationplaylist.com> wrote:
> Why does the Delphi help say that a For loop variable has an undefined value
> after the loop finishes it's iterations?  Surely the variable is always 1
> greater than the maximum "To" value.  That is what appears to happen in all
> situations I've tested.  I often use this test after a For loop to tell if
> something was not found.  What would cause a different result than this?
>
> Cheers,
> Ross.
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject: unsubscribe
>


More information about the Delphi mailing list