HP3000-L Archives

June 2000, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Donna Garverick <[log in to unmask]>
Reply To:
Donna Garverick <[log in to unmask]>
Date:
Wed, 21 Jun 2000 14:12:08 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
hi again!

i'm stumped....  i've got a bit a ci script that should work
and actually sometimes works <sigh>

to describe the environment -- i've got a message file (file
x=...;semi;gmulti;acc=in) being watched by the following:
while 1=1
  setvar hpcierr 0
  input _s_rec;wait=60 <*x >*x
  if hpcierr = _s_time_out
  ....

_s_time_out is set to -9003 -- the number that hpcierr
should be set to if the input function times out.  the first
time thru the loop (allowing it to timeout), i get the
expected result hpcierr = _s_time_out = -9003.  the next
(and the next and the....) time thru the loop (still
allowing it to timeout), hpcierr is 0 and obviously not
equal to -9003 and things go sour.  shouldn't hpcierr always
be set if the input's wait time is met?              - d

--
Donna Garverick     Sr. System Programmer
925-210-6631        [log in to unmask]

>>>MY opinions, not Longs Drug Stores'<<<

ATOM RSS1 RSS2