CLEAR lctest = ' ' @ 2,2 get lctest valid tt(lctest) READ RETURN FUNCTION tt(bb) IF bb = 'v' RETURN .t. ELSE RETURN .f. ENDIFif the user presses 'x' 10 times, a wait-type window appears saying 'Invalid Input' and there is a delay until VFP processes the buffer to respond to a valid input (v).