BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delphi and bcb

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage)
View previous topic :: View next topic  
Author Message
Greg Stantin
Guest





PostPosted: Thu Apr 29, 2004 7:40 pm    Post subject: Delphi and bcb Reply with quote



When you see this in delphi

for I := 0 to FileList.Count - 1 do begin

Its normally this in BCB, is this correct?

for(i = 0; i < FileList->Count; ++i)

without the -1


Thanks


Back to top
JD
Guest





PostPosted: Thu Apr 29, 2004 8:10 pm    Post subject: Re: Delphi and bcb Reply with quote




"Greg Stantin" <gstantin (AT) stantonassoc (DOT) com> wrote:
Quote:
When you see this in delphi

for I := 0 to FileList.Count - 1 do begin

Its normally this in BCB, is this correct?

for(i = 0; i < FileList->Count; ++i)

without the -1

Correct.

~ JD


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.