Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site sdchema.UUCP
Path: utzoo!watmath!clyde!bonnie!akgua!sdcsvax!sdchema!jmw
From: jmw@sdchema.UUCP (John M. Wright)
Newsgroups: net.micro.cbm
Subject: Re: VIC20 BASIC bug (?)
Message-ID: <309@sdchema.UUCP>
Date: Thu, 6-Dec-84 18:24:52 EST
Article-I.D.: sdchema.309
Posted: Thu Dec  6 18:24:52 1984
Date-Received: Sat, 8-Dec-84 04:47:53 EST
References: <596@burl.UUCP>
Reply-To: jmw@sdchema.UUCP (John M. Wright)
Organization: U.C. San Diego Chemistry Dept
Lines: 21
Summary: 

I just tried it out; my VIC20 behaves the same way.  It's not
a problem with IF or GOTO; apparently, when inputting a string,
the VIC20 gets everything on the logical line, INCLUDING THE 
PROMPT PRINTED BY THE INPUT STATEMENT!  Changing your statement
150 INPUT"WHAT DO YOU SAY TO THAT";I$
to
150 PRINT"WHAT DO YOU SAY TO THAT":INPUT I$
makes it behave OK (although of course it doesn't look as neat,
since the "?" appears on a line of its own.  (It evidently knows
enough not to count the "?" by itself as part of the input string.)
Changing the statement to
150 PRINT"WHAT DO YOU SAY TO THAT";:INPUT I$
causes it to behave exactly like your original version, picking
up the prompt as part of the input.
It seems to handle inputting numeric data OK.

Interesting "feature"!

John Wright
Chem. Dept.
UCSD