主题:求高手指点fortran语法问题
我在module里声明的全局变量,同时也是指针的目标变量,应该如何声明?
我尝试了real(8),target,save:: 出现了一下错误:
error #6796: The variable must have the TARGET attribute or be a subobject of an object with the TARGET attribute, or it must have the POINTER attribute.
求高人指点!
我尝试了real(8),target,save:: 出现了一下错误:
error #6796: The variable must have the TARGET attribute or be a subobject of an object with the TARGET attribute, or it must have the POINTER attribute.
求高人指点!