(j3.2006) Get_Command_Argument

Van Snyder Van.Snyder
Mon Dec 12 15:23:40 EST 2011


Is this legal?

  use ISO_C_Binding
  integer(c_int) :: Num
  character(len=127,kind=c_char) :: Value
  call get_command_argument ( num, value )

What if c_int /= kind(0)?

What if c_char /= kind('A')?

Should it have been legal in the latter two cases?





More information about the J3 mailing list