Using a sting as a Wave name

This must be simple to do, but I can't figure it out.

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

function doit()
	string StringOfWave	=	"wave0"
	Make /O /N=5 $StringOfWave
	WAVE waveR=$StringOfWave
	waveR[1] = 3
End

Stephen R. Chinn