Use this procedure to tell the system to emit a warning, message, or error sound. The sound emitted depends on the installed options of the operating system that executes the system. There is no return value from this procedure.
Parameter |
Description |
Integer |
Choose from these options: 0 - Warning sound The default is two (2). |
This procedure emits the sound specified by the parameter.
Here are some examples:
Procedure |
Result |
Explanation |
Beep ( ) |
Emits error sound. |
Defaults to 2. |
Beep (0) |
Emits warning sound. |
The operating system emits the installed option for the warning sound. |
© Copyright 2014, Oracle and/or its affiliates. All rights reserved. Legal notices.