KeySend is a CA-Tools 3 function, that is based on Windows Keyboard Scancodes, not on the terrible Nantucket-designed table of Keyboard codes, which have never been very complete or comprehensible in the first place.
The scancodes you can use with KeySend are documented in ctscan.ch, (in your Clipper include directory) and keyscan also has an extra optional parameter lAdditiveMode, allowing to put several keystrokes into the buffer when true. The boolean returnvalue of this function indicates success or failure when putting the character into the buffer.
If you had added #include 'ctscan.ch' to your code you could have written KeySend(KS_F2) (KS_F2 is defined as chr(0)+chr(60) )
HTH
TonHu