U_BEEP

Ring the terminal bell

WSupported on Windows
USupported on Unix
VSupported on OpenVMS
NSupported in Synergy .NET
xcall U_BEEP

U_BEEP rings the terminal bell. It can replace the following DISPLAY statement, which also rings the terminal bell:

display(g_terminal, 7)

Using U_BEEP rather than the above DISPLAY statement enables you to set a debugger breakpoint at the U_BEEP call in your code, and then examine the traceback to track down the source of an unwanted terminal bell.

Note that U_BEEP has no effect if g_beep is set to false. See g_beep.