如何从函数调用中全球化虚拟参数?
我在 Fortran 中有以下代码
A(a,b) // here a and b are the values filling from function call but they are not declared any where
.
.
.
B(a.b) // same variable passing again to this function call also.
这里的问题是来自a和b的值在第二次调用时没有保持。它正在返回垃圾。即使我尝试使用common但它不接受全球化虚拟参数。怎么做?