Hi, trying to get a small GWBASIC program talking to a 452 10 OPEN "com1:19200,n,8,1,rs,cs,ds,cd" AS #1 LEN=1 20 ID$="G" 30 PRINT#1,ID$ 40 IN$=INPUT$(1,1) 50 IF G$="V" THEN PRINT" - verified": Works OK 2nd RUN, but 1st RUN always produces Device I/O Error. I have a very old note of a statement that stops this happening, ie comms start without error 1st time, but it's lost on a dud floppy ;-( It wasn't anything to do with ON COM or ON ERROR (or ON COMET ON BLITZEN for that matter), but a look down the list of keywords doesn't ring any bells. Something around the PRINT# and INPUT$ statements to do with the comms buffer.......????? cheers, TIA Grumpy Gus -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.