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

  1. Path: sparky!uunet!portal!cup.portal.com!plav
  2. From: plav@cup.portal.com (Rick M Plavnicky)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Arexx question
  5. Message-ID: <73229@cup.portal.com>
  6. Date: Fri,  8 Jan 93 20:31:22 PST
  7. Organization: The Portal System (TM)
  8. Distribution: world
  9. References: <1993Jan7.071959.4572@sol.UVic.CA>
  10.   <1993Jan8.032750.1849@latcs1.lat.oz.au>
  11. Lines: 27
  12.  
  13. burton@latcs1.lat.oz.au (James Burton version 1340) writes:
  14.  
  15. >>I have a simple question about Arexx... I want for my Arexx program to
  16. >>sit and wait for say 3 minutes or so, and then continue on with the
  17. >>program.  How do I get ARexx to do that without~r using up much
  18. >>processor time?  The loop that I tried didn't work too hot.  8-) There
  19. >>must be a command that does this??? Anybody?  Thanks. 
  20. >
  21. >Yes, I would be interested in this.
  22. >If you try to do the following
  23. >'c:wait' 50
  24. >from an AREXX program, it does not wait.
  25. >I suppose it backgrounds the shell task.
  26. >Can somebody please confirm this?
  27. >I find it extremely annoying.
  28.  
  29. Huh?  What about doing a
  30.  
  31.    call delay(ticks)
  32.  
  33. in your ARexx code?  ticks is 50 or 60 per second, depending on your
  34. machine's ``orientation'', and you *may* need to ensure that one of
  35. the support libraries is loaded.  (Sorry, too tired to grab the manuals
  36. and look it up.  I do know that if I type "call delay(120)" to WShell
  37. it works fine for me right now, though.)
  38.  
  39. /* Rick Plavnicky  plav@cup.portal.com */
  40.