Skip to content

BEEP


Produces a beep sound.

Syntax

` declare sub Beep ( )

`

Usage

` Beep

`

Description

Beep tells the system to sound a beep noise. Note that this might not work on some platforms. Since this command is not reliable and there is no way to specify the frequency and duration, you might want to avoid it in favor of other / better solutions, for example: http://www.freebasic.net/forum/viewtopic.php?p=20441#20441 by yetifoot.

Examples

start GeSHi

Beep

end GeSHi

Differences from QB

  • In QB, this was a single tone noise generated through the PC speaker. Now this might not be the case.

See also

  • Out - producing sound using CPU ports

Back to DocToc

Translated from FreeBASIC official docs. Contact us for removal if infringed.
FreeBASIC is an open-source project, not affiliated with Microsoft