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

Home » Public Forums » archive » Re: evaluating & executing commands
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
Re: evaluating & executing commands [message #15237] Fri, 07 May 1999 00:00
Pavel Romashkin is currently offline  Pavel Romashkin
Messages: 166
Registered: April 1999
Senior Member
Yes, it is EXECUTE("string") function.

Steve Mead wrote:

> Is there a way to have IDL execute a command held within a string
> variable from within a procedure?
Re: evaluating & executing commands [message #15238 is a reply to message #15237] Fri, 07 May 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Waleed Al-Nuaimy (assuming his Steve Mead identity) writes:

> Is there a way to have IDL execute a command held within a string
> variable from within a procedure?

IDL> commandString = 'a = 40'
IDL> ok = Execute(commandString)
IDL> Print, a

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: RedHat-6.0 with Glibc2.1 breaks IDL-5.2
Next Topic: evaluating & executing commands

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

Current Time: Sun Oct 12 14:18:19 PDT 2025

Total time taken to generate the page: 1.60231 seconds