Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!ptsfa!ames!husc6!linus!alliant!muller From: muller@alliant.UUCP Newsgroups: comp.sys.apple Subject: Re: comma input Message-ID: <553@alliant.UUCP> Date: Wed, 8-Jul-87 12:49:42 EDT Article-I.D.: alliant.553 Posted: Wed Jul 8 12:49:42 1987 Date-Received: Sat, 11-Jul-87 17:56:57 EDT References: <8706300937.aa12986@SMOKE.BRL.ARPA> Reply-To: muller@alliant.UUCP (Jim Muller) Distribution: world Organization: Alliant Computer Systems, Littleton, MA Lines: 14 In article <8706300937.aa12986@SMOKE.BRL.ARPA> CC004019@BROWNVM.BITNET (Christopher Chung) writes: >Is there a way to have the INPUT statement in BASIC not give the error >?EXTRA IGNORED when a comma is inputted along with the rest of the characters? >I remember reading something about this a long time ago but can't remember >where. Can anyone help? The proper approach is to avoid using INPUT at all. Instead, read input character by character using GET. (If you are reading numerical input, you will have to convert these to values, but it isn't too hard.) After each character is entered, it can be added onto the end of the already existing input string. The Applesoft (or was it the DOS3.3?) manuals used to give such an example as an "input anything" routine.