
Return a text wave reference?

jcor
function /T stringFunction()
and to return waves with function /WAVE waveFunc()
, but is it impossible to combine these?Preliminary googling suggests not, but I'd like to make sure.
Otherwise you can return the string as a "pass-by-reference" parameter:
--Jim Prouty
Software Engineer, WaveMetrics, Inc.
January 22, 2014 at 10:48 am - Permalink
But this actually won't work in my case. I want to do something like:
Because textw is not of fixed length, I need to do this dynamically.
January 23, 2014 at 02:00 am - Permalink
as you must not specify which wave type you return. So Function/Wave allows to return a wave of arbitrary type.
January 23, 2014 at 03:48 am - Permalink
The parens around yearstr are required because a string expression could be referencing a something in a path. The $ operator takes a string, not a number, so your $year won't work.
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
January 23, 2014 at 05:17 pm - Permalink