Hello Peter,
I just implemented somthing like that but not using CHRSAW() just INKEY() testing for 0, seems to work OK, not a great solution but works for now :)
Bob
>>Hello Cetin,
>>
>>Actually I was looking for a way to read the buffer without taking the keystrokes out of it, but I guess I will have to read, manipulate, then stuff the buffer...Thanks
>
>Think of CHRSAW() too;
>I think I do the same as you want. So, with CHRSAW() I check the keyboard buffer, and if I want to put in something there (LIFO) this now is allowed; when CHRSAW() gives tru, I read out the buffer with Inkey(), remember the keystrokes, put in my LIFO-characters, and put in the remembered characters.
>Something like that ?
>
>Regards,
'If the people lead, the leaders will follow'
'War does not determine who is RIGHT, just who is LEFT'