You need to use an $INKEY loop to trap the key pressed.The key code should contain the Null character (0) plus thekeyboard scan code of the key. You can find the scan codesfor the cursor keys under "Keyboard Scan Codes" in QBASIC.
Matthew Gross[email protected]http://acheronx.resnet.tamu.edu
It looks like you're new here. If you want to get involved, click one of these buttons!