home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / palmtops / 3558 < prev    next >
Encoding:
Text File  |  1992-11-09  |  945 b   |  32 lines

  1. Newsgroups: comp.sys.palmtops
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!destroyer!cs.ubc.ca!newsserver.sfu.ca!howesb
  3. From: howesb@fraser.sfu.ca (Charles Howes)
  4. Subject: [HP95] Qbasic lockup problem
  5. Message-ID: <1992Nov9.060110.1382@sfu.ca>
  6. Sender: news@sfu.ca
  7. Organization: Simon Fraser University, Burnaby, B.C., Canada
  8. Date: Mon, 9 Nov 1992 06:01:10 GMT
  9. Lines: 21
  10.  
  11. I wrote a short Quickbasic program to capture stuff from COM1.
  12.  
  13. It works on the PC, but requires a hard reboot if I try it on the HP.
  14. It seems to be choking on the 'OPEN' statement.
  15.  
  16. (From memory)
  17. PRINT "LINE ONE"
  18. OPEN "COM1:2400,N,8,1" AS #1
  19. PRINT "LINE TWO"
  20. T=TIMER
  21. WHILE ABS(TIMER-T)<10
  22.   IF LOC(1)>0 THEN PRINT INPUT$(LOC(1),1);
  23. WEND
  24. CLOSE
  25.  
  26. Anyway, I was trying to capture input from the IR port to a file.  This was
  27. a preliminary stab at trying to write a universal remote control.
  28.  
  29. Why doesn't the @#$ COMM program have an option to receive Text as well as
  30. Send?
  31.  
  32.