返回调用程序的命令的命令行参数的数目。 类 查询函数 结果类型和属性 缺省整数标量 结果值 结果值是命令参数的数目,不计入命令名。 如果没有命令参数,那么结果值为 0。 示例 integer cmd_count cmd_count = COMMAND_ARGUMENT_COUNT() print*, cmd_count end ...
Returns the number of command line arguments for the command that invoked the program. Class Inquiry function Result type and attributes Default integer scalar Result value The result value is the number of command arguments, not counting the command name. If there are no command arguments, the r...
Hi everyone, I am trying to transfer some command line arguments between a c++ program launching a fortran exe. For some reason,
I am trying to transfer some command line arguments between a c++ program launching a fortran exe. For some reason, theCOMMAND_ARGUMENT_COUNT command always return zero, altough I do have some arguments transfered. If I call theget_command_argument routine, at index zero, I get...