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

Home » Public Forums » archive » Re: IDL_IDLBRIDGE undefined procedure 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: IDL_IDLBRIDGE undefined procedure problem [message #73492 is a reply to message #73491] Thu, 11 November 2010 07:29 Go to previous messageGo to previous message
jeanh is currently offline  jeanh
Messages: 79
Registered: November 2009
Member
On 11/11/2010 10:05 AM, Ammar Yusuf wrote:
> Hi I'm new to using this IDL_IDLBRIDGE object so I was just running
> some test code like:
>
> Obj1 = OBJ_NEW('IDL_IDLBridge')
> Obj1->Execute, "run1"
> I have four separate functions in four separate files called pro run1,
> pro run2, pro run3, and pro run4. They all do something really simple
> but every time I run the above code I get this error:
> IDL_IDLBRIDGE Error: Attempt to call undefined procedure/function:
> 'RUN1'.
>
> Thanks.

Hi,
the procedures are not compiled in the idlBridge session.

try this:
Obj1 = OBJ_NEW('IDL_IDLBridge')
Obj1->Execute, '.compile run1'
Obj1->Execute, "run1"


Of course, run1.pro must be in your path. Remember that startup files
are not run in the bridge session..
Jean
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Finding NaNs in arrays - Strange outcome
Next Topic: intel fortran compiler question on windows.

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

Current Time: Wed Oct 08 11:34:55 PDT 2025

Total time taken to generate the page: 0.00361 seconds