1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! # `Beep` Statement
//!
//! Emits a standard system beep sound.
//!
//! ## Syntax
//!
//! ```vb
//! Beep
//! ```
//!
//! ## Platform Behavior
//!
//! - **Windows/Linux/macOS**: Writes the terminal bell character (`\x07`) to stderr.
//! - **WASM**: No-op (no audio output).
//!
//! [Reference](https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/beep-statement)
use cratestate;
/// Implement VB6's `Beep` statement.
///
/// Plays the system beep sound. On native platforms this writes the
/// terminal bell character to stderr; on WASM it is a silent no-op.