System.SysUtils.Beep

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Beep;

C++

extern DELPHI_PACKAGE void __fastcall Beep(void);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

Generates a message beep.

Beep generates a conventional beep message.

Note: On Windows, the Beep routine is based on the Windows API Messages.

Note: On MAC OS, to minimize library dependencies in the runtime library, the Beep routine has limited functionality.

Note: On MAC OS, the beep is generated by writing a "bell character" (ASCII #7) to either the STDERR or STDOUT terminal file streams when available.

Code Examples