home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18380 < prev    next >
Encoding:
Internet Message Format  |  1993-01-08  |  1.9 KB

  1. Path: sparky!uunet!cbmvax!bj
  2. From: bj@cbmvax.commodore.com (Brian Jackson - Amiga Networking)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Arexx question
  5. Message-ID: <38425@cbmvax.commodore.com>
  6. Date: 8 Jan 93 19:13:12 GMT
  7. References: <1993Jan7.071959.4572@sol.UVic.CA> <1993Jan8.032750.1849@latcs1.lat.oz.au>
  8. Reply-To: bj@cbmvax.commodore.com (Brian Jackson - Amiga Networking)
  9. Organization: Commodore, West Chester, PA
  10. Lines: 40
  11.  
  12. In article <1993Jan8.032750.1849@latcs1.lat.oz.au> burton@latcs1.lat.oz.au (James Burton version 1340) writes:
  13. >Though I turn, I cannot see you : 
  14. >>I have a simple question about Arexx... I want for my Arexx program to
  15. >>sit and wait for say 3 minutes or so, and then continue on with the program.
  16. >>How do I get ARexx to do that without~r using up much processor time?
  17. >>The loop that I tried didn't work too hot.  8-)  There must be a command
  18. >>that does this??? Anybody?  Thanks.
  19. >>
  20. >>Aaron Ramsey
  21. >>amramsey@sirius.UVIC.ca
  22. >>
  23. >
  24. >Yes, I would be interested in this.
  25. >If you try to do the following
  26. >'c:wait' 50
  27. >from an AREXX program, it does not wait.
  28. >I suppose it backgrounds the shell task.
  29. >Can somebody please confirm this?
  30. >I find it extremely annoying.
  31. >
  32. >James
  33. >
  34. >p.s. the problem is nothing to do with 'wait' because
  35. >I wrote a C program which called Delay(atoi(argv[1])),
  36. >this worked perfectly from the shell, but no effect from AREXX.
  37. >-- 
  38. >    Personally Be Sideways, because of the tree of life.
  39. >    Don't let yourself become a leaf.
  40. >    Belittle the small, enlighten the rich.
  41.  
  42. The rexxsupport.library has a function called 'delay()' that will do just
  43. what you want.
  44.  
  45.        +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +  +
  46.        Brian Jackson    Amiga Networking Group, Commodore-Amiga Inc.
  47.                         bj@cbmvax.commodore.com
  48.      {uunet|rutgers}!cbmvax!bj    or   networking@cbmvax.commodore.com
  49.                        uva uvam vivendo varia fit 
  50.  
  51.  
  52.