- #36
mathmate
- 365
- 0
Code:real*8 x(n+1), y(n+1) common/alpha/ x(n+1), y(n+1)
I would change it to:
Code:
real*8 x(n+1), y(n+1)
common/alpha/ x, y
If the implicit for variables starting with X and Y is set to REAL*8, then you don't need the REAL*8 line, just the COMMON line as you had written.
Hope that solves your problem with the COMMON block.