|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Terence
Join Date: Aug 2019
Posts: 1
Rep Power: 0 ![]() |
this nested loop in Fortran includes two GO TO 105 statements and also has two DO 105 labels. Can anyone describe the logic around when the code exits the inner/outer loops ?
Last edited by Ted; September 1, 2019 at 03:20. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
|
Probably not the answer you hoped for but, the best way for you to understand this is that you copy the obscure part in a separate program and see what happens, maybe with some print.
You should never be afraid of doing this sort of check. |
|
![]() |
![]() |
![]() |
Tags |
nested loop fortran |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fortran Compiler-CFX12.1 | Araz | CFX | 13 | March 27, 2017 05:37 |
CFD Code Conversion from Intel Fortran to GNU Fortran | pitto | Main CFD Forum | 4 | August 4, 2016 14:51 |
Using Fortran with CFX: How to connect Fortran to CFX? | l.te | CFX | 0 | October 21, 2012 11:42 |
visual fortran | Monica | Main CFD Forum | 1 | August 28, 2004 20:45 |
Why Favoring Fortran over C/C++? | Zi-Wei Chiou | Main CFD Forum | 35 | September 26, 2001 09:34 |