Getting error 62 reading a com port

by Docfxit (Login Docfxit)
R

I'm getting an error 62 On the second line (IF LOC(wsFileNum))which says:
Check for the end of file with EOF when reading from a file.

DO WHILE NOT EOF(wsFileNum) 'receive
IF LOF(wsFileNum) <= 32767 THEN junk$ = INPUT$(LOF(wsFileNum), # wsFileNum)
LOOP


Does anyone have any ideas how I can stop getting error 62?

Thanks,

Docfxit



    
This message has been edited by Docfxit on May 11, 2012 5:20 PM
This message has been edited by Docfxit on May 11, 2012 4:55 PM
This message has been edited by Docfxit on May 11, 2012 4:54 PM
This message has been edited by Docfxit on May 11, 2012 4:53 PM
This message has been edited by Docfxit on May 11, 2012 4:39 PM
This message has been edited by Docfxit on May 11, 2012 1:20 PM

Posted on May 11, 2012, 1:19 PM

Respond to this message   

Return to Index


Response TitleAuthor and Date
well i don't know butstosb on May 12
 another thing would bestosb on May 12
  * This did get rid of error 62. But nothing is inputDocfxit on May 13
   *lol well maybe nothing is being sent?stosb on May 13
 * I get the same error 62. Check for EOFDocfxit on May 13
Yeah, get rid of the loop on May 12
 Re: Yeah, get rid of the loopDocfxit on May 13