|
help with large loop
Can someone please help me to correct my program. I have a variable, LargeNumber. The maximum value that LargeNumber will be is 320000000000, thus I have to declare LargeNumber as Int64. The problem is that the loop does not want to work with my variable, I think because it is declared as Int64. When I try to run the program I get an error message that says, "For Loop control variable must have ordinal type." The following is my Loop:
for Loop := 1 to LargeNumber do
begin
end;
{Since Loop is going to have the same value as LargeNumber, I also declared it as int64}
|