Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!sri-spam!sri-unix!ctnews!pyramid!hplabs!ucbvax!ucdavis!uop!mrapple From: mrapple@uop.EDU (Nick Sayer) Newsgroups: comp.sys.apple Subject: //gs BASIC Message-ID: <756@uop.EDU> Date: Mon, 16-Nov-87 16:09:19 EST Article-I.D.: uop.756 Posted: Mon Nov 16 16:09:19 1987 Date-Received: Thu, 19-Nov-87 19:38:10 EST Organization: University of the Pacific, Stockton, CA Lines: 21 Keywords: help problem I/O blarg! Got GS BASIC a while ago from ADPA and finally got around to playing with it. I really like it, but found a problem with either it or me. To wit: 10 OPEN ".MODEM",AS #2 20 PRINT #2;"AT" 30 INPUT #2;A$ 40 PRINT A$ 50 CLOSE #2 This program should send an AT to the modem, and get the resulting OK and print it on the screen. What actually happens is the program stops at line 30 waiting for KEYBOARD input (and, of course, whatever you type gets printed out). Why, oh why? ----- Nick Sayer | Packet Radio: N6QQQ @ WA6RDH | CMS: SYSOP@STOKTON%STOCKTON uucp: ...!sdcsvax!ucbvax!ucdavis!uop!mrapple | Fido: 161/31 Disclaimer: You didn't REALLY believe that, did you? Kirk: Analysis, Mr. Spock? Spock: It appears to be of external origin. Kirk: Mr. Sulu, go to pass two. Sulu: Aye aye, sir, going to pass two.