I'd like to be able to read a level-of-difficulty (1-20) from the player. It seems as though file_var_read() could be used to do this if the user types the numerical value into a file, but this would be a rather ugly interface. Is there a simple mechanism for reading a numerical value from the keyboard?

Dr. Phillip M. Feldman