RFTONE.ToneFileName

BSTR ToneFileName(short nDex)

Function ToneFileName(nDex As Integer) As String

Name of a file in the filenames array.

Return value
The name of the file pointed by ndex.

Parameters

nDex
    The index of a tone filename in the file array (0 based).
    nDex must be smaller then ToneFileCount.

Remarks
The files are created by the StoreTone function, and deleted by the DeleteToneFile function.
The filename may be accessed by this (ToneFileName) function.
The number of tone files may be accessed by ToneFileCount.

Example

See also    RFTONE, ListToneFiles, ToneFileCount, StoreTone, DeleteToneFile