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

Home » Public Forums » archive » Linking multiple files...
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
Linking multiple files... [message #31514] Mon, 22 July 2002 16:21
squad is currently offline  squad
Messages: 2
Registered: June 2002
Junior Member
Hey everyone... maybe I'm just really dumb, but for some reason I
can't get IDL to properly link several files together. What I mean by
link is the following:

--- In one file, I have a function called "FINDROOTS" which finds the
roots of a quadratic equation (Function FindRoots, a, b, c).

--- In one file I have a procedure "PRINT_TO_FILE", which calls
FindRoots with a very short list of different a's and b's and c's, and
then outputs it to a text file.

I open both of these files up in IDL and tell it to "Compile All". In
the event log it says:

% Compiled module: FINDROOTS
% Compiled module: PRINT_TO_FILE

So, I run the procedure PRINT_TO_FILE. I immediately get the following
error:
% Variable is undefined: FINDROOTS

The strange thing is that if I recompile both yet again (without any
changes), the error goes away and everything is fine. However, this is
incredibly annoying. Also, my problem isn't *this simple*, and this
happens again and again and again .......

Any help would be greatly appreciated.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: widget_slider with odd integers
Next Topic: Spherical triangulation does not work for this data

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

Current Time: Wed Oct 08 15:47:44 PDT 2025

Total time taken to generate the page: 0.00488 seconds