Beep

Description

Causes the computer to beep up to 10 times.

Syntax

Beep ( n )

Argument

Description

n

The number of times you want the computer to beep. If n is greater than 10, the computer beeps 10 times.


Return value

Integer.

Returns 1 if it succeeds and -1 if it fails. If n is null, Beep returns null. The return value usually is not used.

Examples

This statement causes the computer to beep five times:

Beep(5)