Determine variable names dynamically according to a string in Fortran

后端 未结 4 1628
春和景丽
春和景丽 2020-12-02 02:26

I want to create a dynamic variable name using Fortran.

The variable name will be obtained by concatenating a string and another string/integer. Then I want to us

4条回答
  •  感情败类
    2020-12-02 03:25

    No, this is not possible in Fortran.

    For more information, look into Reflection (computer programming).

提交回复
热议问题