我想在格式化文件中输出实际变量。如果变量非零,则使用格式语句。但如果变量为零,则仅输出空格,类似于 Iw.0 的做法。是否可以在格式语句中执行此操作?谢谢。
variables fortran output
fortran ×1
output ×1
variables ×1