Using a sting as a Wave name
SailBlue5
I have a string and I want to make a wave named that so I use:
Make /O /N=5 $StringOfWave
But now I need to add numbers to it and it won't let me do:
$StringOfWave[1] = 3
or
StringOfWave[1] = 3
How would I get the string to become a wave name?
Thanks,
Michael
string StringOfWave = "wave0"
Make /O /N=5 $StringOfWave
WAVE waveR=$StringOfWave
waveR[1] = 3
End
Stephen R. Chinn
February 19, 2009 at 07:03 am - Permalink