Clicky
Showing changes from revision #3 to #4:
(追記) Added (追記ここまで) | (削除) Removed (削除ここまで) | (削除) Chan (削除ここまで)(追記) ged (追記ここまで)
returns the number of arguments passed on the command line when the containing program was invoked.(削除) command_argument_count() (削除ここまで)(追記) command_argument_count (追記ここまで)
Fortran 2003 and later
result = command_argument_count()
result = command_argument_count()
(追記ここまで)
None
The return value is of type integer(4)
program test_command_argument_count
integer :: count
count = command_argument_count()
print *, count
end program test_command_argument_count
get_command, get_command_argument