Question about Delphi 7

This is a discussion on Question about Delphi 7 within the Tech Board forums, part of the Community Boards category; How to implement a counter from 1 to 1800 whereby once the count reaches the maximum number being display, a ...

  1. #1
    Registered User
    Join Date
    Jan 2010
    Posts
    27

    Exclamation Question about Delphi 7

    How to implement a counter from 1 to 1800 whereby once the count reaches the maximum number being display, a pop-up screen will appear and causing the counter to reset back to 1. Using a if statement.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    23,618
    Moved to Tech Board
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    Sounds like a homework or book exercise. Anyway, show what you've tried.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  4. #4
    Registered User
    Join Date
    Jan 2010
    Posts
    27
    do u all know any if statement to make that counter?

    can u show me some code for me to try it out.

  5. #5
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,267
    You would probably have better luck posting this question to a Delphi board instead of a C/C++ board.
    bit∙hub [bit-huhb] n. A source and destination for information.

  6. #6
    Registered User
    Join Date
    Jan 2010
    Posts
    27
    delphi code is about the same as c/c++ so i post it on this board so that u guy can help with the code for the counter.

  7. #7
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Angola
    Posts
    7,909
    You must be stupid.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. SDL buffer channels question
    By TriKri in forum Game Programming
    Replies: 3
    Last Post: 12-09-2009, 04:52 PM
  2. THE END - Borland C++ Builder, Delphi, J Builder?
    By Davros in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 02-28-2006, 10:23 PM
  3. Delphi Source Code
    By OldFart in forum Windows Programming
    Replies: 4
    Last Post: 06-11-2004, 06:05 PM
  4. Delphi Vs C++, a questions of why.
    By iwod in forum Tech Board
    Replies: 2
    Last Post: 01-02-2004, 12:45 AM
  5. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21