Does a flowchart (a function) always have an end?

Discussion in 'Programming' started by John LaO, Aug 19, 2009.

  1. #1
    Does a flowchart always need to have an end? suppose if its a never ending loop? where even if all conditions and processes have been satisfied, the system will still loop back to the start of the process for lets say the next hour.

    because the conditions are dependent to the time and date.

    its a web application BTW...
     
    John LaO, Aug 19, 2009 IP
  2. stampavideo

    stampavideo Greenhorn

    Messages:
    94
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #2
    No, otherwise Apple would not have a street address in Cupertino. :D

    Seriously, yes a web app has to stop as soon as possible -have a look at settimeout() and cleartimeout() for time sensitive applications and use events (onclick, etc) to trigger actions.
     
    Last edited: Aug 19, 2009
    stampavideo, Aug 19, 2009 IP
  3. ThePHPMaster

    ThePHPMaster Well-Known Member

    Messages:
    737
    Likes Received:
    52
    Best Answers:
    33
    Trophy Points:
    150
    #3
    You might be thinking of cron jobs. You can set one to run every second to achieve solve your problem.
     
    ThePHPMaster, Aug 19, 2009 IP