Subject: | |
From: | |
Reply To: | |
Date: | Fri, 30 Mar 2007 15:55:22 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Keven Miller (rtt) wrote:
> I've noticed in a BASIC program that the ENTER command, as described
> in the Basic manual page 2-47 to 2-48,
> fails to return the actual time that the user took to complete the read.
> >list
> 10 DIM S$[30]
> 20 PRINT "Prompt#";
> 30 ENTER 5,R,S$
> 40 PRINT LIN(1);"R=";R;" [";S$;"]"
> >run
> Prompt#123
> R= 0 [123]
The Basic/V ENTER statement does indeed use an FCONTROL 22 call to get
the read timer.
However, when connected via Telnet/iX or VT, FCONTROL 22 will return a
CCE condition code
but is essentially a NO OP. If you want to prove this, try your sample
program on the system console
or a DTC connected terminal.
TGIF,
Mike Hornsby
CTO
Beechglen Development Inc.
www.Beechglen.com
513-922-0509x31
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|