[comp.lang.misc] HP 2000 ACCESS system BASIC problem

solution@disk.UUCP (Bill Mayes) (06/27/90)

In article <90167.004040QQ11@LIVERPOOL.AC.UK> QQ11@LIVERPOOL.AC.UK (Alan Thew) writes:
>I used to use a HP 2000 system in the late 1970's which had (for
>then) a very good version of BASIC. If anyone can remember back that
>far ( :-)) can you possibly give me the full syntax for the
>                 ENTER
>statement? I have a program I would like to translate sometime to
>GW BASIC (it's all I've got :-)). 

Quoting from the "HP 20854A Timeshared BASIC/2000 Level F Pocket Guide" (#5952-
4491, Aug. 1975) for BASIC on a HP 2000C used at the University of Louisville,
Kentucky, USA, in the late 1970's:

Name	Example			Purpose
----	-------			-------
ENTER	400 ENTER #T		Fills the first variable (#T) with the user
	410 ENTER A,B,C		terminal number and/or allows the user a
	420 ENTER #T,A,B,C$	specified number of seconds to reply (A),
				returns the actual response time (B) and 
				returns the value entered (C,C$).  On time
				out, the response time is set to -256.  On
				illegal input type, the response time is 
				negated.  Leading blanks, quotes and null
				entries are accepted as valid string char-
				acters by ENTER.

	430 ENTER 25,B,C	Same as examples 410, 420 except a constant
				(25) or variable can be used to specify the
				number of seconds allowed.

I hope this helps.  :-)


-- 
Bill Mayes	"We do everything."--U.S.E.R., Inc., slogan
uunet!ukma!corpane!disk!solution **OR** solution@disk.UUCP
Disclaimer:  Any similarity between my opinions and anyone else's is entirely
             coincidental, but it shows good taste on his or her part.