Difference between revisions of "TONE()"

From Recital Documentation Wiki
Jump to: navigation, search
(TONE())
(Products)
 
Line 22: Line 22:
  
 
==Products==
 
==Products==
Recital Mirage Server, Recital Terminal Developer
+
Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Latest revision as of 16:37, 8 December 2009

Purpose

Function to sound the terminal bell


Syntax

TONE(<expN1>, <expN2>)


See Also

SET BELL, CHR()


Description

The TONE() function sounds the bell on your terminal. It can be used for program controlled warning sounds. The frequency (in hertz) of the emitted sound is determined by the integer <expN1>. The duration of the sound is determined by <expN2> expressed in 1/18ths of a second.


Example

tone(340,5)


Products

Recital