home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 6793 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: red-branch.MIT.EDU!not-for-mail
  2. From: rid@red-branch.MIT.EDU (Shawna or Lars Hansen)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Timing stuff
  5. Date: 3 Apr 1996 01:02:55 GMT
  6. Organization: Massachvsetts Institvte of Technology
  7. Message-ID: <4jsinv$9mi@senator-bedfellow.MIT.EDU>
  8. References: <9604012043.AA003vp@ozzy.demon.co.uk>
  9. NNTP-Posting-Host: red-branch.mit.edu
  10. X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
  11.  
  12. Brian Skreeg (oz@ozzy.demon.co.uk) wrote on Mon, 1 Apr 96 20:43:25 GMT:
  13. :     Hi folks,
  14. : I'm writing a ircbot in SAS/C and I need to do things based on intervals.
  15. : ie: if it doesn't have ops then ask at certain (10 secs) intervals for ops
  16. : etc etc. 
  17. :     What would be the best way for implementing such a thing. It's
  18. : basically just a simple program with an irc file open using TCP: and stdio
  19. : CON: for seing what it's up to. 
  20. :     The program should still be able to go about ordinary between interval
  21. : commands. ie: Delay() is no use.
  22. : Any ideas?
  23. :    __ _ _
  24. :   /  \ \ \ Out we come, bloody and squawling,
  25. :  / / / / / and for all the points of the compass,
  26. :  \__/  \ \ we know there's anly one direction,
  27. :     \__/_/ and time, is it's only measure,
  28. :                      Guildernstern or Rosencrantz.
  29.  
  30. timer.device
  31.  
  32. -- 
  33. * Lars M. Hansen         
  34.