Example for the beep function
[scilab.git] / scilab / modules / sound / help / en_US / beep.xml
index 27bc2b4..90139f2 100644 (file)
             <literal>s=beep()</literal> returns the current beep mode (on or off).
         </para>
     </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[
+beep() // Make a sound
+beep("off") // disable the sound
+]]></programlisting>
+    </refsection>
 </refentry>