Hey, just a quick note here... you can use this code under two conditions:
-I have no responsibility for anything you do with this code.
-If you use a substantial amount of my code (I'll let you decide what that means)
 you should give credit where credit is due.

That's all I ask, other than that what you do with this code is entirely up to you.

This code compiles with FreeBasic v0.18.1, and also compiles with -lang deprecated
(though this might change in the future), provided you remove the "Using FB" from
the beginning of the code.  I don't expect it to compile in QBasic or -lang qb, though
it shouldn't be terribly difficult to convert.  The one difficulty you might have is
with pointers - you'd need to convert them to arrays or something.  The test program
uses MultiKey, and that would also need to be changed.  Other than that, most of
the code here is pretty much standard.  It should also be platform-independent, though I haven't tried it on linux yet.

I tried to make the code in this archive as identical to the code in the tutorial as
possible;  I apologize in advance if there are any differences, but it should all work
anyways.

Enjoy!