Clicky
Showing changes from revision #1 to #2:
(追記) Added (追記ここまで) | (削除) Removed (削除ここまで) | (削除) Chan (削除ここまで)(追記) ged (追記ここまで)
Retrieve the entire command line that was used to invoke the program.
(削除) Fortran 2003 and later (削除ここまで)(追記) 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