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

Home » Public Forums » archive » dlm and IDL_ExecuteStr
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
dlm and IDL_ExecuteStr [message #18635] Wed, 26 January 2000 00:00
Nando Iavarone is currently offline  Nando Iavarone
Messages: 48
Registered: December 1998
Member
Hi all,
I was trying to use the IDL_ExecuteStr from a c module,
linked as a DLM.
The IDL_ExecuteStr seems to work,
but at the end of the execution the IDL interpreter out an error.

The function is:

static void testpro(int argc, IDL_VPTR *argv)
{
IDL_ExecuteStr("a= 100");
IDL_ExecuteStr("print,a");
}

From IDL:
ENVI> testpro
% Loaded DLM: TESTMODULE.
% TESTPRO: This is from a loadable module procedure.
100
% Stopped on unknown instruction(96) at 1347620916.
% Execution halted at: $MAIN$
ENVI>

If I call the xloadct all is OK:
static void testpro(int argc, IDL_VPTR *argv)
{
IDL_ExecuteStr("a= 100");
IDL_ExecuteStr("print,a");
}

From IDL:
ENVI> testpro
% Loaded DLM: TESTMODULE.
% TESTPRO: This is from a loadable module procedure.
% Compiled module: XLOADCT.
% Compiled module: CW_BGROUP.
ENVI>

Anyone have idea of what's happening?
Is it possible to use the IDL_ExecuteStr in a dlm technique?

Cheers,
Nando
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: elliptic integrals
Next Topic: Re: Listing all top-level widgets

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

Current Time: Fri Oct 10 19:19:21 PDT 2025

Total time taken to generate the page: 1.84097 seconds