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

Home » Public Forums » archive » Re: interpreter access
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: interpreter access [message #19570 is a reply to message #19551] Tue, 04 April 2000 00:00 Go to previous messageGo to previous message
Steven Chetelat (CS) is currently offline  Steven Chetelat (CS)
Messages: 11
Registered: February 2000
Junior Member
On Tue, 4 Apr 2000, David Fanning wrote:

> Thomas Fechner (tfes@my-deja.com) writes:
>
>> my next task is to realize a GUI with IDL and I
>> want to call some external commands (C-programms,
>> shell scripts, IDL-functions etc.) from widgets
>> directly and (that's my problem) also copy these
>> commands to the IDL command window (interpreter
>> window). Is there any possibiltiy to access the
>> interpreter window from any IDL widgets and what
>> is to do therefore?
>
> The easiest way to gain access to the IDL command
> interpreter from any program is to use the "virtual
> functions": Call_Function, Call_Procedure, and Call_Method.
> And for what those don't do, there is good ol'
> Execute to mop up the rest. :-)

Also (assuming I understand the question), you can get whatever you
execute to print out to the command window simply using idl's print
statement, since all these functions take string arguments. There'll be
a little wrangling to get all the arguments to print out, but nothing too
rough.

K-Bye,
STEVE! (chetelat@csee.usf.edu)(steve@moffitt.usf.edu)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: heap_gc behaviour
Next Topic: Re: CALL_EXTERNAL PROFESSIONAL HELP

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

Current Time: Sat Oct 11 12:22:16 PDT 2025

Total time taken to generate the page: 1.19928 seconds