+1 888 340 6572

PlaySound: Difference between revisions

From MultiCharts
(Created page with "Plays the specified wave (.wav) sound file. ==== Usage ==== <syntaxhighlight>PlaySound("PathFilename")</syntaxhighlight> Where: PathFilename - a string expression spe...")
 
No edit summary
Line 8: Line 8:
==== Example ====  
==== Example ====  


<syntaxhighlight>Play ding.wav sound file located in the root directory of the C: hard drive:  
Play ding.wav sound file located in the root directory of the C: hard drive:  


PlaySound("C:\ding.wav");</syntaxhighlight>  
<syntaxhighlight>PlaySound("C:\ding.wav");</syntaxhighlight>  




[[Category:Math and Trig]]
[[Category:Output]]

Revision as of 13:52, 26 January 2012

Plays the specified wave (.wav) sound file.

Usage

PlaySound("PathFilename")

Where: PathFilename - a string expression specifying the path and filename of the wave file to be played

Example

Play ding.wav sound file located in the root directory of the C: hard drive:

PlaySound("C:\ding.wav");