Function Callit()
variable var
GetData({var})
End
Function GetData(WAVE data)
End
creates a SP wave. The WAVE type of the argument in GetData determines the created wave type. So use WAVE/D if you always need DP waves. Or introduce WaveDouble, see AllenInstitute/MIES#2697. Doing WAVE/T forces a text wave as parameter.
creates a SP wave. The WAVE type of the argument in
GetDatadetermines the created wave type. So useWAVE/Dif you always need DP waves. Or introduce WaveDouble, see AllenInstitute/MIES#2697. DoingWAVE/Tforces a text wave as parameter.