[comp.sys.amiga.introduction] Problem with delay option in c:iconx

paulb@cbnewsk.att.com (paul.l.bidwell) (03/18/91)

I've got an A3000 running 2.0. I'm using the c:iconx program to run the following script:

 .K filename
 System2.0:rexxc/rx pg.rexx <filename>

This script calls a rexx program which display some lines of output on the
window opened by iconx. What I want to do then is delay the closing of the
window so I can read the output.

According to the manual, there is a DELAY= tool type for iconx which should 
allow this, but I'm having problems with it.

First, if you say DELAY=0, then the window will close with CNTRL-C. I can 
not seem to get that to work. My window was open until I rebooted.

Next, if you specify DELAY=n, where n is number of seconds, the window will
close after n seconds. After diddling with this for a while, I noticed that 
if I specify DELAY=400, I get a 4 or 5 second delay. (A DELAY=4 closes the
window immediately).

Are these bugs with the DELAY tool type, or am I doing something wrong?

Paul Bidwell
p.l.bidwell@att.com

jap@convex.cl.msu.edu (Joe Porkka) (03/21/91)

paulb@cbnewsk.att.com (paul.l.bidwell) writes:

>I've got an A3000 running 2.0. I'm using the c:iconx program to run the following script:

> .K filename
> System2.0:rexxc/rx pg.rexx <filename>

>According to the manual, there is a DELAY= tool type for iconx which should 
>allow this, but I'm having problems with it.

>Next, if you specify DELAY=n, where n is number of seconds, the window will
>close after n seconds. After diddling with this for a while, I noticed that 
>if I specify DELAY=400, I get a 4 or 5 second delay. (A DELAY=4 closes the
>window immediately).

I bet the units are AmigaDOS TICKS. 1 tick = 1/50 second.