<div class="meta" robots="noindex">

</div>

Method

# Beep

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2019r2. Please use `System.Beep<system.beep>` as a replacement.

</div>

## Description

Plays the default system alert sound.

## Usage

**Beep**

## Notes

The <span class="title-ref">Beep</span> method plays the default <span class="title-ref">Beep</span> sound selected on your computer.

## Sample code

This code beeps if an error occurs:

``` xojo
Dim isError As Boolean = True
If isError Then
  Beep
End If
```

## Compatibility

All project types on all supported operating systems.
