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

Home » Public Forums » archive » Re: Contour data with two different lon/lat grids onto the same map projection
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Contour data with two different lon/lat grids onto the same map projection [message #71224] Fri, 04 June 2010 09:45
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 6/3/10 8:22 PM, David Fanning wrote:
> In fact, in spite of Mike Galloy proclaiming here the
> other day that he often uses main programs, I rarely
> do. And for exactly this reason. They can get you
> in a world of strange hurt. You would probably find
> out in a minute or two why you can't run the program
> more than once if you made a procedure out of it.

I use main-level programs as a place to start or to place an example at
the end of a file containing regular routines. Anything more complex
than a few lines should be in a function/procedure. But the nice part is
that it is easy to just add the "pro/function my_routine, a, b, etc.."
line at the top of the main-level program to change it into a routine.
After coding and getting something working, 99+% of what gets committed
and kept is in regular routines.

Mike
--
www.michaelgalloy.com
Research Mathematician
Tech-X Corporation
[Message index]
 
Read Message
Previous Topic: Re: running ISIS DLM - disappearing library
Next Topic: Re: changing the color of a plot

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

Current Time: Wed Oct 08 16:03:34 PDT 2025

Total time taken to generate the page: 0.00192 seconds