Hi!
I drew a flowchart and then it was no problem! :) In Matlab I use now while loops with "if - continue" or "if-break". Luckily the GOTOs are just used and not abused, but my matlab code is much more easy to read.
Perhaps there will be an other question, but I dont't think so.
Then thanks a...
Thanks a lot! :)
Ok I understand, I should have used the word "argument" instead of "parameter" in this case.
Your style is much more comfortable to read than the program I have to read.
This thing was programmed by an engineer in the 80'. Probably I am the first man who looks at the code...
Yes, Notepad++ marked all the ifs blue! :-)
Unfortunately I have an other question:
There are subroutines without arguments. And I think subroutines can't manipulate variables in the main program.
So how does this work? How get the results in main program?
I would be really happy about an...
Oh Yes! How easy...
Thank you!
Here is the call:
CALL GASKR (PNG(J-1),PK(1),PK(1),CUM,CHR(J),CSR(J),FGASRG(J), !
- SPALTLG,JS,LHYD,FUELG(J),IBZG(J),LKO)
I was confused, because Notepad++ displays the IN always blue, so i thought it has to be something special...
Hello, I would be very happy if you can held me!
I don't understand what exactly IN is and does:
The code says:
INTEGER IN(NP)
DO 111 I=1,N
IN(I)=I
111...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.