HP3000-L Archives

March 2007, Week 5

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:
Mike Hornsby <[log in to unmask]>
Reply To:
Mike Hornsby <[log in to unmask]>
Date:
Fri, 30 Mar 2007 15:55:22 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (30 lines)
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 *

ATOM RSS1 RSS2