Thanks.
SET NOTIFY OFF (as suggested by Craig) took care of both problems.
>To eliminate VFP message RETURN 0 instead of RETURN .F.
>I'm not sure what delay you're refering to but you can clear keyboard buffer with
>
>CLEAR TYPEAHEAD
>
>>
>>Consider please the followng code:
>>
>>
>>CLEAR
>>
>>lctest = ' '
>>
>>@ 2,2 get lctest valid tt(lctest)
>>READ
>>
>>RETURN
>>
>>
>>FUNCTION tt(bb)
>>
>>IF bb = 'v'
>> RETURN .t.
>>ELSE
>> RETURN .f.
>>ENDIF
>>
>>
>>if 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).
>>
>>How can I:
>>1. Suppress the 'Invalid Input' message
>>2. Get rid of the delay
>>
>>Thanks,
>>
>>Yossi
>>
>>PS This is for a Clipper conversion project, so it is impractical to just replace all the @ commands with a VFP form.