|fortran error in eclipse ide [message #1861405]
||Wed, 11 October 2023 12:18
| yeshwanth mylapalle
Registered: October 2023
The code base has C/C++/fortran source files using an Eclipse Juno as an IDE for building the project. I use GCC 6 and Gfortran-5 as compiler to build the project, where for a particular line of code in fortran, the array statement is accepting only positive variable but not the negative variable. The sample array statement looks like this, |
DATA A/-100000.0, -CON, -CON, -CON, 0.0, 0.0 ,CON, 0.0, 0.0, 0.0/
The compiler shows Syntax error in DATA Statement at (1).
Instead of variable , if i give value it is compiling and building. But it is not the right approach to follow.
Thanks for understading.
Waiting for the reply at the earliest.
Powered by FUDForum
. Page generated in 0.03184 seconds