Use a string, and read the manual. Ugh.
This won't help much, because you won't expect that the instruction is called 'inkey'. Maybe, this helps a bit, it is at least a start:
http://www.conitec.net/beta/ainkey.htmFor further instructions look into the string manipulations 'str_...' and the file manipulations ' file_...'.