Clicky
Showing changes from revision #0 to #1:
(追記) Added (追記ここまで) | (削除) Removed (削除ここまで) | (削除) Chan (削除ここまで)(追記) ged (追記ここまで)
Retrieve the entire command line that was used to invoke the program.
Fortran 2003 and later
Subroutine
call get_command(command)
command
- Shall be of type character
and of default kind.Stores the entire command line that was used to invoke the program in command
. If command
is not large enough, the command will be truncated.
program test_get_command
character(len=255) :: cmd
call get_command(cmd)
write (*,*) trim(cmd)
end program
get_command_argument, command_argument_count