Difference between revisions of "TONE()"

From Recital Documentation Wiki
Jump to: navigation, search
 
(TONE())
Line 1: Line 1:
=TONE()=
 
 
 
==Class==
 
Input/Output
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to sound the terminal bell
 
Function to sound the terminal bell

Revision as of 16:46, 28 October 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 Mirage Server, Recital Terminal Developer