Dynamic output format setting

后端 未结 2 847
借酒劲吻你
借酒劲吻你 2020-12-22 00:55

I tried to make the output format dynamically in the sense that the number of variables to be printed out could be varied dynamically. I had done some experiment with the fo

2条回答
  •  忘掉有多难
    2020-12-22 01:25

    Fortran recently added * as an unlimited format repeater. e.g., '( *(2X, F3.1) )' This is easier to use than a dynamic format.

提交回复
热议问题