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