%N keyi %F $MIR/src/subs/key.c
%D Retrieve an integer from the command line.
%P pjt
%: user-input, command-line
%B
FORTRAN call sequence:
        subroutine keyi(key,value,default)
        character key*(*)
        integer value,default

   Retrieve an integer from the command line.  If the keyword is
   not found, the default is returned.  The integer can be input
   as a hexadecimal, octal or decimal number using a prefix 0x, %x
   or h for hex; o or %o for octal; and +, - or nothing for decimal.

   Input:
     key        The name of the keyword to return.
     default    The default value to return, if the keyword is not
                present on the command line.
   Output:
     value      The returned value.
 
