RFTONE.GetDuration
RFTONE.GetFrequency

short GetDuration(short nDex)
short GetFrequency(short nDex)

Function GetDuration(nDex As Integer) As Integer
Function GetFrequency(
nDex As Integer) As Integer

Gets a value from the local Tone array.

Return value
The desired value.

Parameters

nDex
    The index of an existing sound item in the tone array (0 based).

Remarks
nDex must be smaller than ToneCount.

Example

See also    RFTONE, ToneCount