NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
char PlayFile ( string  filename)
inline

Play a file.

Play the specified file. The filename may be any valid string expression. The sound file can either be an RSO file containing PCM or compressed ADPCM samples or it can be an NXT melody (RMD) file containing frequency and duration values.

Parameters
filenameThe name of the sound or melody file to play.
Examples:
ex_PlayFile.nxc.