comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Re: pv-wave, strings-to-function_names

Re: pv-wave, strings-to-function_names
type: item
description: 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
creator: rep2857
date: 1995-08-10T07:00:00-00:00