>> while(!ngetchx())//while no keys are pressed........is this right??? I beleave ngetchx() will wait for a keypress... Look up kbhit() and kbd_queue() in the documentation. B Clark