Beep
(Engine-Level Function)
Frequency |
Required. Any numeric expression giving the frequency to be output to the speaker. |
Comments:
The minimum frequency is 1190000 / 65535 ~= 18.16. If the frequency is set below the minimum frequency or invalid, the speaker will turn off.
Within an Anywhere Client session, this function does nothing.
Example:
If MatchKeys(2, "on"); [ Beep(2000) { A 2kHz tone }; ] If MatchKeys(2, "off"); [ Beep(0) { No tone }; ]
The example above results in a 2000 Hz sustained beep sounding when the user types "on" until the user types "off".