Subject: | |
From: | |
Reply To: | Dr. Ferenc Nagy |
Date: | Fri, 1 Nov 1996 10:11:29 +0100 |
Content-Type: | TEXT/PLAIN |
Parts/Attachments: |
|
|
On Thu, 31 Oct 1996, CarlWKemp answered my question:
>
> How can I time out a simple line mode read, and substitute a default
> answer instead of the missing answer?
> is a timeout) a timeout may blow up your program (I have never tried it,
I have already written programs with trapping of input errors like letters
instead of a number using XLIBTRAP. Do you mean I should apply this
technique?
>
> Hope this clears up everything for you.
I write this letter on the fly before triying FCONTROL on the HP.
> If not, let me know,
> and I will send you a code sample that generates a timed read.
>
I code sample would save my time.
Regards
Frank
|\ /~ ~~|~~~ Family : NAGY; first name : FERENC; title : Ph. D.
| \ | -+- Institute of Isotopes of the Hungarian Academy of Sciences
| \| | 1121 BUDAPEST Konkoly-Thege M. ut 29, HUNGARY (1525 Bp. POB 77)
`-' ' `-' E-mail : [log in to unmask]
Fax: (36)-1-156-5045, work phone: (36)-1-275-4351, home phone: (36)-1-277-4229.
Home address: H-1214 BUDAPEST Raketa u. 29. I. 3.
There are 3 kinds of programming errors: syntactical, semantical and mystical.
The programmers have to suck up the users just as much as absolutely necessary.
|
|
|