home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!manuel.anu.edu.au!sserve!prolix!prolix.apana.org.au!dac
- From: dac@prolix.apana.org.au (Andrew Clayton)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Arexx question HOW TO IMPLEMENT DELAY()
- Message-ID: <CTugs*mV0@prolix.apana.org.au>
- Date: Fri, 08 Jan 1993 15:39:50 GMT
- References: <1993Jan7.071959.4572@sol.UVic.CA> <1993Jan8.032750.1849@latcs1.lat.oz.au>
- Organization: More like Dis~, really.
- X-Newsreader: Arn V1.00
- Lines: 46
-
- In article <1993Jan8.032750.1849@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?
-
- > >Aaron Ramsey
-
- > 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.
-
- The answer is here:
-
- --cut--------------------------------
- /*rexx*/
- if ~show('L','rexxsupport.library') then
- call addlib('rexxsupport.library',0,-30)
-
- say time()
- call delay(250) /*5 seconds*/
- say time()
- --cut ------------------------------
-
- testcon
- 01:39:12
- 01:39:17
-
- > I suppose it backgrounds the shell task.
- > Can somebody please confirm this?
- > I find it extremely annoying.
-
- This will do the delay that you seek.
-
- Why it isn't in the Amiga doco, I don't know. It's in the
- original Arexx release, and is part of the rexxsupport.library.
-
- > James
-
- Dac
- --
- dac@prolix.apana.org.au David Andrew Clayton. // _| _ _
- dac@prolix.sserve.cc.adfa.oz.au Canberra, Australia \X/ (_](_](_
- <Using ARN on an Amiga 4000. Yay!>
-