I have Excel sheets and small Fortran application. I made a VBA macro that saves input data for Fortran exe into a .txt file.
After that, I used Shell function in VBA macro tu execute FOR application and there is no error message, but there's neither a output TXT file that this FOR application...
can this be correct:
...
DO 2 J=1,80
IF(Y.GT.1.0) Y=0.6
F= -A*RP(I)+(Y+Y*Y+Y**3-Y**4)/(1.-Y)**3-B*Y*Y+C*Y**D
IF(ABS(F)-1.E-6) 4,4,3
3 DFDY=(1.+4.*Y+4.*Y*Y-4.*Y**3+Y**4)/(1.-Y)**4-2.*B*Y+D*C*Y**(D-1.)
2 Y= Y-F/DFDY
...
(do statement that invokes line no. 2)
Hi, I'm new into Fortran because my mentor gave me an assigment to make his old UNIX Fortran codes useful and working as DLLs which we could invoke from MSExcel.
I had a knowledge of ASP, Borland Pascal and VBA, and some basics for Fortran I learned without trouble. I wrote a simple subroutine...