vanaards%t7@uk.ac.man.cs (Steven van Aardt) (03/04/91)
Here's yet another problem I've had recently, could someone help ? 1. Hold down a single alpha key, the character should be echoed to the screen, The keyboard buffer will eventually fill after 255 characters, and you'll hear an audible beep. 2. Press the Return/Enter key. 3. The program now crashes with an EOF message 4. Type CLOSE#X or CLOSE#0 5. And RUN the program again 6. You should see a 'Channel' error message. I couldn't open kbd: again till after a *shutdown. Could someone explain what's happening. X=OPENIN "kbd:" REPEAT A=BGET#X UNTIL A=ASC"." CLOSE #X ------------------------------------------------------------------------------- JANET E-mail : vanaards@uk.ac.man.cs.p4 (Steven van Aardt) -------------------------------------------------------------------------------
jho@imada.dk (Jens H. Ovesen) (03/06/91)
vanaards%t7@uk.ac.man.cs (Steven van Aardt) writes: > Here's yet another problem I've had recently, could someone help ? >1. Hold down a single alpha key, the character should be echoed to the screen, > The keyboard buffer will eventually fill after 255 characters, and you'll > hear an audible beep. >2. Press the Return/Enter key. >3. The program now crashes with an EOF message >4. Type CLOSE#X or CLOSE#0 >5. And RUN the program again >6. You should see a 'Channel' error message. >I couldn't open kbd: again till after a *shutdown. >Could someone explain what's happening. >X=OPENIN "kbd:" >REPEAT > A=BGET#X >UNTIL A=ASC"." >CLOSE #X I didn't get the 'Channel' error message, sorry. Maybe the problem is something else? You do have RISCOS? Jens.