Type Declarations in Fortran -


I think the type of Wi is real below.

  SUBROUTINE F (X, Y) C no applicable real: X, YC Real: A, BC, parameter :: C = 3.14 E Cx = Y + 2 * SIN ( Y) ED  

But what's the type of it here? SUBROUTINE F (X, Y) C Real X, YC Real :: A, BC Real, Parameter :: C = 3.14A CX = Y + 2 * SIN (Y) END < / Code>

Is it exactly typed or real due to the real token at the beginning of that line?

What else does the purpose: Service?

(Sorry, I know that the scope of a declaration, working on a parser at midnight in a confused state is afraid to make you a misconception and the knowledge of the moment says that other people Consult with more experience.)

Area of ​​the end of the line: Y is real

For "::", this is something new.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -