Error getting tags :
error 404Error getting tags :
error 404 beep | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
beep
Basics
Expander triangle
Type
Command
Syntax
beep [numberOfTimes]
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Sounds the system beep.
Examples

beep
beep 7
beep trunc(field "Severity Level")

Additional Comments
Expander triangle

Use the beep command to get the user's attention.

Parameters:

The numberOfTimes is an integer (or an expression that evaluates to an integer) and specifies how many beeps are sounded. If the numberOfTimes is not specified, one beep is sounded.

Comments:

If the numberOfTimes is less than 1, the beep command has no effect (but does not cause a script error).

Cross-platform note:Windows and OS X do not execute the beepcommand if it's issued while a beep is playing. This means that if you specify a numberOfTimes on a Windows or OS X system, the user might hear fewer beeps because not all of them are sent to the speaker. To ensure that the user hears a specific number of beeps, use a loop with a waitcommand (where the wait time is at least as long as the beep sound's duration) after each beep:

repeat for 4 times -- ensure 4 separate beeps

beep

wait 200 milliseconds

end repeat

Note: Overuse of the beepcommand has been known to cause user stress.

User Comments
Expander triangle