textwave access
codexa
With many trials I was not able to access a text wave within a function. It was no problem to change or read values in a /D wave within a function, or change or read strings in a text wave within a procedure, but not within a function.
Is this simple not possible or has someone a sample code for me?
Many thanks
Otherwise
DisplayHelpTopic "Text Waves"
is also a good read.February 16, 2011 at 09:00 am - Permalink
Wave/T tw // input parameter
WAVE/T pre_existingGlobalTextWave= root:globalTextWave
// do something with pre_existingGlobalTextWave
pre_existingGlobalTextWave[0] = "hello, world!"
...
End
--Jim Prouty
Software Engineer, WaveMetrics, Inc.
February 16, 2011 at 09:42 am - Permalink
Thanks a lot!
Chris
February 16, 2011 at 11:49 pm - Permalink