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

Home » Public Forums » archive » Re: Many procedures, what to do?
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: Many procedures, what to do? [message #23202 is a reply to message #23201] Fri, 12 January 2001 07:11 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
davidf@dfanning.com (David Fanning) writes:
> I have to admit, I'm always confused when I read articles
> like this. I've been writing IDL programs for over 12 years
> now, and I've maybe used FORWARD_FUNCTION three times. I
> have gotten the wrong FOO program from some other directory
> maybe a few times more than that. But I have never, in all
> those years, had difficulty getting programs to compile
> and run when they are suppose to.

Hi David--

I guess what I'm saying is that I *already* have a library of 25
individual files that do low-level stuff. I am feeling like this is a
pain in the butt for me and for other people to manage. Also, all of
these functions share a lot of common parameters and keywords, so it
makes sense to only document them once, rather than in each file. All
typing and no rest makes Craig a bad carpal tunnel boy.

My thought was to collapse all these routines into one single file.
That way it's easy to keep everything in one place, and there can be
lots of shared documentation.

The problem with that is then there are a bunch of functions like
CMSV_RLONG CMSV_RSTRING, CMSV_RCOMM, stored in a file called
cmsvlib.pro. IDL has no way to figure out these functions are stored
in cmsvlib.pro, or for that matter that they are functions at all.

You are saying, "put each function in a separate file." I am saying,
"I already have that, but am wondering whether one single library file
would be more convenient for downloaders."

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Code for Dynamically creating and repositioning Buttons during IDL runtime
Next Topic: CW_Field Observation

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

Current Time: Sun Nov 30 17:45:15 PST 2025

Total time taken to generate the page: 1.52574 seconds