Thanx, think that's exactly what I'm looking for. Am using Borland 5.02 and it's in the Windows API. How do you actually use the function, is it just a case of:
#include <relevantHeader.h>
if (GetAsyncKeyState()==codeForRequiredKey)
statementBlock
or am I naive to think it could be quite that straight-forward?!!
Cheers, Ad.
PS: keep smoking!!