Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why can't I use an Int64 in a for loop?

Tags:

delphi

I can write for..do process for integer value.. But I can't write it for int64 value. For example:

var
  i:int64;
begin
  for i:=1 to 1000 do 
end; 

The compiler refuses to compile this, why does it refuse?

like image 787
musti Avatar asked Mar 15 '12 21:03

musti


1 Answers

The Delphi compiler simply does not support Int64 loop counters yet.

like image 150
Remy Lebeau Avatar answered Sep 18 '22 15:09

Remy Lebeau