Can anyone help? I cannot get the array constructor data values to compile when using a multiplier on a constant.
This is an f77 conversion. Using MS VS 2003 and Intel V9.
The array used to look like:
DATA ASTP1/0.,20.,40.,3*0.0/
I believed it should be like:
Real, Parameter :: ASTP1(6) = (/0.,20.,40.,3*0.0/)
I also tried others below that also did not work
Real, Parameter :: ASTP1(6) = [0.,20.,40.,3*0.0]
Real, Parameter :: ASTP1(6) = [/0.,20.,40.,3*0.0/]
The issue is there are some arrays with 80*0..
That would be alot to do by hand.
Thanks Ken