comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » f77 GOTO == IDL ??
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
f77 GOTO == IDL ?? [message #1331] Thu, 02 September 1993 09:57
eharold is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL PC C interface
Next Topic: IDL Function keys don't work

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 15:13:36 PDT 2025

Total time taken to generate the page: 0.56123 seconds