Msg: 6886 *Conference*

01-05-97 12:25:16

From: N RIDGWAY

To : ALL

Subj: HELP:COMM FROM BASIC

Hi, I just discovered this board.  I am having a problem perhaps someone can
help with.  I am trying to use my PC-8201 to capture output from a GPS receiver
using a Basic program.  I open COM, use ON COM to jump to an INPUT #1
statement.  The program works fine part of the time, but often I get an ?EF
(end of file) error message, probably due to the timeing of trying to get data
when there is nothing there to read.  Can anyone tell me where I can PEEK or
use another method to read the  incoming text in a BASIC program?  I've tried
trapping the ?EF error, but evidently it can't be avoided with an ON ERROR
statement. Any help you can provide will be appreciated.