Difference between revisions of "PlaySound"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Plays the specified wave (.wav) sound file. ==== Usage ==== <syntaxhighlight>PlaySound("PathFilename")</syntaxhighlight> Where: PathFilename - a string expression spe...")
 
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");