PlaySound: Difference between revisions
From MultiCharts
m
→Example
(→Usage) |
m (→Example) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Plays the specified wave (.wav) sound file. | Plays the specified wave (.wav) sound file. | ||
== Usage == | |||
<syntaxhighlight>PlaySound("PathFilename")</syntaxhighlight> | |||
Where: | |||
:'''PathFilename''' - a string expression specifying the path and filename of the wave file to be played. | |||
== Notes == | == Notes == | ||
Line 8: | Line 13: | ||
== Example == | == Example == | ||
Play ding.wav sound file located in the root directory of the C: hard drive: | Play the 'ding.wav' sound file located in the root directory of the C: hard drive: | ||
<syntaxhighlight>PlaySound("C:\ding.wav");</syntaxhighlight> | <syntaxhighlight>PlaySound("C:\ding.wav");</syntaxhighlight> | ||
[[Category:Output]] | [[Category:Output]] |