home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Help with for loop in delphi

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 1475
Discussions: 200,927, Posts: 2,379,134, Members: 246,293
Old April 9th, 2008, 05:27 AM   Digg it!   #1 (permalink)
Junior Member
 
Join Date: Apr 2008
Posts: 3
Unhappy
Help with for loop in delphi

Im writing monopoly, im still a beginner and any help would be appreciated... I wrote this for loop but for some reason it starts at 28 and not at 1....

For r := 1 to 28 do
If STekoop[1,r] = plek then
If messagedlg(STeKoop[r,2] + ' FOR SALE.' + #13 + 'Price: ' + STekoop[r,3] + #13 + 'Buy?',mtConfirmation,[mbYes,mbNo],0) = mrYes then
Begin
Money1 := Money1 - StrToInt(STekoop[r,3]);

Please help????
Peppercat101 is offline   Reply With Quote
Old July 9th, 2008, 05:49 PM     #2 (permalink)
Member
 
theGlitch's Avatar
 
Join Date: Jul 2008
Location: Boston, MA
Posts: 183
Blog Entries: 1
Send a message via AIM to theGlitch
what does r= prior to the loop?
theGlitch is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
Delphi Help - 'For loop' ru1di Webmastering and Programming 1 September 24th, 2006 07:35 AM
Delphi Coding help ru1di Webmastering and Programming 0 July 7th, 2006 03:52 PM
Delphi vs. Java c6ke Webmastering and Programming 1 December 22nd, 2004 05:13 AM
Delphi starrboy Webmastering and Programming 1 April 22nd, 2003 08:38 PM
help on Delphi program michelealberto General Tech Discussion 1 September 9th, 2002 05:10 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2866)
Obama the Muslim (14)
Is the PSU I received dead? (10)
windows vista security holes (9)
HIS HD5770 graphic card question (15)
Foreign voltage (10)
Print spooler problem (13)
Install XP pro and a Vista laptop ?.. (10)
Dept. of HS: NSA 'Helped' Develop V.. (15)
A good PSU? (10)
Ideal cheap graph card for PC-Gamin.. (15)
New Computer wont recognize XP disc (7)
EVGA 9800 gtx help with finding a g.. (8)
World's largest Monopoly Game using.. (331)
Recent Discussions
Safe International POS for CC,DC cash.. (0)
Fire in DVD (1)
Regular Build (0)
Modern Warfare For the PC (33)
radeon x850xt platinum & shader 3 (3)
Have you switched yet? (84)
Install XP pro and a Vista laptop ?? (10)
Wireless Router+Cable Modems and Much.. (0)
Optical Audio A-B Switch (1)
windows vista security holes (9)
The NTDVM CPU has encountered an ille.. (24)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (34)
Wireless speakers for PC? (11)
Print spooler problem (13)
Help getting around port 80 for camer.. (2)
Display shows 3x5 inch in middle of s.. (3)
monitor will not turn on at all, (1)
World's largest Monopoly Game using G.. (331)
Foreign voltage (10)
FiOS modem/router interfering with ne.. (7)
Browsers wont load websites (2)
Virus Doctor Popup? (1)
Dept. of HS: NSA 'Helped' Develop Vis.. (15)
EVGA 9800 gtx help with finding a goo.. (8)
Problem with speed step/turbo boost? (1)


All times are GMT -4. The time now is 01:55 AM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28