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 

thanks for INT64 comptability, another question...

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics
View previous topic :: View next topic  
Author Message
Thomas Willms
Guest





PostPosted: Thu Feb 09, 2006 3:03 pm    Post subject: thanks for INT64 comptability, another question... Reply with quote



Hello,
I want to make a loop like follows...

For i:=1 to 1000000000000

so i cannot be integer (delphi says: exceeds range..), but comp and INT64
don't work neither...

any idea ?

Thanks
Back to top
Keith
Guest





PostPosted: Thu Feb 09, 2006 3:03 pm    Post subject: Re: thanks for INT64 comptability, another question... Reply with quote



try
Var i : Int64;
begin
For i := (Int64)1 to Int64(1000000000000)
end;

see if that works

"Thomas Willms" <th.willms (AT) wanadoo (DOT) fr> wrote in message
news:43eb4aa1 (AT) newsgroups (DOT) borland.com...
Quote:
Hello,
I want to make a loop like follows...

For i:=1 to 1000000000000

so i cannot be integer (delphi says: exceeds range..), but comp and INT64
don't work neither...

any idea ?

Thanks
Back to top
Avatar Zondertau
Guest





PostPosted: Thu Feb 09, 2006 7:03 pm    Post subject: Re: thanks for INT64 comptability, another question... Reply with quote



Quote:
I want to make a loop like follows...

For i:=1 to 1000000000000

so i cannot be integer (delphi says: exceeds range..), but comp and
INT64 don't work neither...

any idea ?

var
I: Int64;

I := 1;
while I < 1000000000000 do
begin

Inc(I);
end;
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics 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.