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 #66610 is a reply to message #40203] Sat, 23 May 2009 12:58 Go to previous messageGo to previous message
Homeyer is currently offline  Homeyer
Messages: 9
Registered: March 2009
Junior Member
On May 22, 2:22 pm, Vince Hradil <vincehra...@gmail.com> wrote:
> 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
>

If it is working directly from the command line, the following line is
probably after the RETURN statement:

> Somewhere in find_uniq_objects.pro there is a line like:
> find_uniq_objects
>
> As opposed to:
> uobjs = find_uniq_objects(args)

-Cameron
[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: Sun Oct 12 12:09:30 PDT 2025

Total time taken to generate the page: 0.24135 seconds