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

Home » Public Forums » archive » Listing called functions in .pro file
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: Listing called functions in .pro file [message #7411 is a reply to message #7364] Wed, 13 November 1996 00:00 Go to previous messageGo to previous message
Robert Moss is currently offline  Robert Moss
Messages: 74
Registered: February 1996
Member
MICHEL KRUGLANSKI wrote:
>
> The RESOLVE_ALL code does not resolve every thing.
> For instance, it does not work correctly when you make
> use of MAP_GRID. The MAP_GRID procedure does not exist;
> it is "created" by MAP_SET (see below)
>
> Michel K.
>
> IDL> map_grid
> % Attempt to call undefined procedure/function: 'MAP_GRID'.
> % Execution halted at: $MAIN$
> IDL> map_set
> IDL> map_grid

What's happening here is that the MAP_GRID procedure is contained in
the same file as the MAP_SET procedure. It cannot be compiled at
the command line automatically (as you showed above) because there is
no .pro or .sav file by that name anywhere in your !PATH.

The moral of this story is that when you are using RESOLVE_ALL you have
to think about the order in which things are called in your program...
it matters. Of course, if your program compiles from the command line,
_most_ of it will be resolved by RESOLVE_ALL... after all, if you
havent compiled MAP_SET, you cant run MAP_GRID, regardless of where
your trying to do it.

--
Robert M. Moss, Ph.D. - mossrm@texaco.com - FAX (713)954-6911
------------------------------------------------------------ -----
This does not necessarily reflect the opinions of Texaco Inc.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: idl.el version 1.35
Next Topic: Asymetrix Embraces KaiZenWare

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

Current Time: Wed Oct 08 19:26:13 PDT 2025

Total time taken to generate the page: 0.00441 seconds