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

Home » Public Forums » archive » RESOLVE_ALL
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: Resolve_all [message #66613 is a reply to message #40203] Fri, 22 May 2009 12:22 Go to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On May 22, 12:38 pm, vino <astrocr...@gmail.com> wrote:
> On May 22, 5:46 pm, Homeyer <cam.the.weather....@gmail.com> wrote:
>
>
>
>> On May 22, 6:10 am, vino <astrocr...@gmail.com> wrote:
>
>>> Hi!
>
>>> I shall be very grateful if someone can explain why the following
>>> error is occuring...
>
>>> IDL> .r find_uniq_objects.pro
>>> % Compiled module: FIND_UNIQ_OBJECTS.
>>> IDL> resolve_all
>>> % Compiled module: FIND_UNIQ_OBJECTS.
>>> % Attempt to call undefined procedure/function: 'FIND_UNIQ_OBJECTS'.
>>> % Error occurred at: RESOLVE_ALL_BODY  290 /usr/local/rsi/idl70/idl/
>>> lib/resolve_all.pro
>>> %                    RESOLVE_ALL       351 /usr/local/rsi/idl70/idl/
>>> lib/resolve_all.pro
>>> %                    $MAIN$
>>> % Execution halted at: $MAIN$
>
>>> When i am able to individually compile the function, why is it that
>>> resolve_all is not finding the .pro file?What is it that i am missing
>>> here?
>
>>> Thanks and regards,
>
>>> Vino
>
>> The error is the result of a function trying to be resolved as a
>> procedure. My guess is that FIND_UNIQ_OBJECTS is defined as a
>> function, but is being called as a procedure within
>> find_uniq_objects.pro.
>
>> Cheers,
>> Cameron
>
> Hi! As you both said find_uniq_objects is a function..But how do i
> make sure that it is being resolved as a function rather than a
> procedure?
>
> Thanks and regards,
>
> Vino

Somewhere in find_uniq_objects.pro there is a line like:
find_uniq_objects

As opposed to:
uobjs = find_uniq_objects(args)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: show tooltip description
Next Topic: fsc_color problem on IDL7.1

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

Current Time: Sat Oct 11 19:08:22 PDT 2025

Total time taken to generate the page: 1.28362 seconds