Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
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