Yes, inkey is obviously the function with the global string that you want.