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