home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!portal!cup.portal.com!plav
- From: plav@cup.portal.com (Rick M Plavnicky)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Arexx question
- Message-ID: <73229@cup.portal.com>
- Date: Fri, 8 Jan 93 20:31:22 PST
- Organization: The Portal System (TM)
- Distribution: world
- References: <1993Jan7.071959.4572@sol.UVic.CA>
- <1993Jan8.032750.1849@latcs1.lat.oz.au>
- Lines: 27
-
- 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.
-
- Huh? What about doing a
-
- call delay(ticks)
-
- in your ARexx code? ticks is 50 or 60 per second, depending on your
- machine's ``orientation'', and you *may* need to ensure that one of
- the support libraries is loaded. (Sorry, too tired to grab the manuals
- and look it up. I do know that if I type "call delay(120)" to WShell
- it works fine for me right now, though.)
-
- /* Rick Plavnicky plav@cup.portal.com */
-