Home »
Public Forums »
archive »
f77 GOTO == IDL ??
f77 GOTO == IDL ?? [message #1331] |
Thu, 02 September 1993 09:57 |
eharold
Messages: 12 Registered: July 1993
|
Junior Member |
|
|
I have some messy f77 code I'm translating to IDL. There is
one particularly messy routine which uses numerous forward goto's.
The code is in a do loop with several subsidiary do loops, each of
which includes at least one error or bounds checking procedure
implemented as a goto pointing at another block of code in the
outermost do loop. Finally in the event the error isn't reached
there are more forward goto's to skip over the error checking
code.
Actually that's just the base description. The reality is
worse. I am despairing of ever really understanding this code
sufficiently to rewrite it in IDL. However I could possibly
do a line by line translation if IDL had a goto operator or maybe
even a break operator for early exiting of loops. Near as I can tell
it doesn't have either. Can anyone provide any hints that might be
useful in translating messy f77 to IDL?
--
Elliotte Rusty Harold National Solar Observatory
eharold@sunspot.noao.edu Sunspot NM 88349
|
|
|
Current Time: Thu Oct 09 15:13:36 PDT 2025
Total time taken to generate the page: 0.56123 seconds