Hello! I have a problem with the libray of Power Station Fortran.
I write this code:
--------------------
program InverseMatrix
real, dimension (3,3) :: A, B
data A/2,2,7,3,3,3,6,5,9/
do i=1,3
write (*,*) A(i,
end do
CALL LINRG (3, A, 3, B, 3)
END
pause
end program InverseMatrix
--------------------
but Fortran give me this error:
"error FOR3722: INVERSEMATRIX found when main expected in END PROGRAM detected between PROGRAM and INVERSEMATRIX"
why???
I write this code:
--------------------
program InverseMatrix
real, dimension (3,3) :: A, B
data A/2,2,7,3,3,3,6,5,9/
do i=1,3
write (*,*) A(i,
end do
CALL LINRG (3, A, 3, B, 3)
END
pause
end program InverseMatrix
--------------------
but Fortran give me this error:
"error FOR3722: INVERSEMATRIX found when main expected in END PROGRAM detected between PROGRAM and INVERSEMATRIX"
why???