TONE()

From Recital Documentation Wiki
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