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

Home » Public Forums » archive » Re: pv-wave, strings-to-function_names
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: pv-wave, strings-to-function_names [message #4805] Thu, 10 August 1995 00:00
rep2857 is currently offline  rep2857
Messages: 28
Registered: December 1994
Junior Member
In article <40d1ml$vi7@seralph9.essex.ac.uk>,
Pearson J E <jepear@essex.ac.uk> wrote:
> In pvwave how do convert a string into a function name?
>
> What I am doing is passing the name of a funtion to another function as a
> string. What I cannot do is then use this string as a function name in the new
> function.
>

Cc'd to jepear@essex.ac.uk

It sounds like the Execute() function is what you're after.
WAVE> cmd = 'plot, indgen(20)'
WAVE> info, cmd
CMD STRING = 'plot, indgen(20)'
WAVE> status = Execute(cmd)

status will be either 1 or 0, respectively, depending on success or
failure of the command.

Mike Schienle Hughes Santa Barbara Research Center
Home: mgs@seldon.terminus.com Work: rep2857@sbsun0010.sbrc.hac.com
Contract Employee - Will visualize data for large amounts of money
[Message index]
 
Read Message
Previous Topic: Re: Q: Indexing arrays with variable # dimensions
Next Topic: Re: color printing

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

Current Time: Fri Oct 10 13:12:33 PDT 2025

Total time taken to generate the page: 0.40114 seconds