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

Home » Public Forums » archive » Re: HELP: IDL Function/Variable Problem
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: HELP: IDL Function/Variable Problem [message #5179 is a reply to message #5172] Fri, 13 October 1995 00:00 Go to previous messageGo to previous message
Tim Patterson is currently offline  Tim Patterson
Messages: 65
Registered: October 1995
Member
Thomas A McGlynn <tam> wrote:

>>
> It's not sufficient that you compile a function before you use it, you
> must compile the function before you compile any reference to it. E.g.,
> if you compile the main program then compile the function then execute
> the main program, you'll get an undefined variable error. You need
> to compile function, compile main, run main. Depending upon how your
> functions call one another and how they are distributed amongst the .PRO
> files, it may be impossible to run a program without compiling some
> of your modules twice. Of course that probably indicates that
> you need to restructure your code...
> Tom McGlynn

Not guilty in this case.
The function is compiled before any reference to it.
Still looking into it...

Tim
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: What is like CONGRID, but averages on reduction?
Next Topic: Widget event problem

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

Current Time: Wed Oct 15 04:28:10 PDT 2025

Total time taken to generate the page: 1.04065 seconds