TONE()

From Recital Documentation Wiki
Revision as of 16:37, 8 December 2009 by Helengeorge (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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