Go to Post I WANT MY POOF BALLS! - Cyber Punk 234 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 26-09-2007, 03:21
SwartMumba SwartMumba is offline
Registered User
no team
 
Join Date: Sep 2007
Location: TX <---I'm here
Posts: 2
SwartMumba is an unknown quantity at this point
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}
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pic: Holomonic (Bottom View) with Large Omni-Directional Wheel Kit nonother Extra Discussion 9 16-05-2007 00:26
Help! Making Continuous Loop out of Plastic Sheet evolution Technical Discussion 7 19-02-2006 13:47
problem with using a loop CompMaster Programming 7 03-02-2006 16:44
hey need some help with writing a code please help me here magical hands Programming 9 01-01-2004 21:46
NEED HELP with Delay loop for compressor relay switch archiver 2001 10 24-06-2002 02:11


All times are GMT -5. The time now is 00:26.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi