[comp.sys.apple] //gs BASIC

mrapple@uop.EDU (Nick Sayer) (11/17/87)

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.