home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18364 < prev    next >
Encoding:
Text File  |  1993-01-08  |  1.3 KB  |  42 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!netnews!bandy
  3. From: bandy@netnews.jhuapl.edu (Mike Bandy)
  4. Subject: Re: Arexx question
  5. Message-ID: <C0Jp55.6yM@netnews.jhuapl.edu>
  6. Organization: JHU/Applied Physics Laboratory
  7. References: <1993Jan7.071959.4572@sol.UVic.CA> <1993Jan8.032750.1849@latcs1.lat.oz.au>
  8. Date: Fri, 8 Jan 1993 17:12:41 GMT
  9. Lines: 31
  10.  
  11. burton@latcs1.lat.oz.au (James Burton version 1340) writes:
  12.  
  13. >>I have a simple question about Arexx... I want for my Arexx program to
  14. >>sit and wait for say 3 minutes or so, and then continue on with the program.
  15. >>How do I get ARexx to do that without~r using up much processor time?
  16. >>The loop that I tried didn't work too hot.  8-)  There must be a command
  17. >>that does this??? Anybody?  Thanks.
  18. >>
  19.  
  20. >Yes, I would be interested in this.
  21. >If you try to do the following
  22. >'c:wait' 50
  23. >from an AREXX program, it does not wait.
  24. >I suppose it backgrounds the shell task.
  25. >Can somebody please confirm this?
  26. >I find it extremely annoying.
  27.  
  28. In my ADPro scripts I use the following to sleep 3 seconds:
  29.      PAUSE 50*3
  30. Offhand (I'm at work without an Amiga manual handy), I'm not sure if 
  31. PAUSE is an ADPro thing, or an Arexx thing.  So, to sleep your 3 
  32. minutes, you'd do:
  33.      PAUSE 50*180
  34.  
  35. Try it!
  36.  
  37. -- 
  38.  
  39.     Mike Bandy
  40.     bandy@aplcomm.jhuapl.edu
  41.     Johns Hopkins University / Applied Physics Lab
  42.