 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Thomas Willms Guest
|
Posted: Thu Feb 09, 2006 3:03 pm Post subject: thanks for INT64 comptability, another question... |
|
|
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
|
Posted: Thu Feb 09, 2006 3:03 pm Post subject: Re: thanks for INT64 comptability, another question... |
|
|
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
|
Posted: Thu Feb 09, 2006 7:03 pm Post subject: Re: thanks for INT64 comptability, another question... |
|
|
| 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 |
|
 |
|
|
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
|
|