1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-01 13:50:36 +00:00
QB64-PE/internal/help/BEEP.txt

26 lines
858 B
Plaintext
Raw Normal View History

2017-10-10 14:55:21 +00:00
The [[BEEP]] statement produces a beep sound through the sound card.
{{PageSyntax}}
2017-10-10 14:55:21 +00:00
: [[BEEP]]
{{PageDescription}}
2017-10-10 14:55:21 +00:00
* [[BEEP]] can be placed anywhere to alert the user that there is something to do or an error has occurred.
2019-04-15 01:15:33 +00:00
* '''QB64''' produces the actual "beep" sound through the PC's sound card, to emulate QBasic's beeping through the [https://en.wikipedia.org/wiki/PC_speaker PC speaker].
==QBasic/QuickBASIC==
2017-10-10 14:55:21 +00:00
* Older programs may attempt to produce a BEEP by printing [[CHR$]](7) to the screen. This is no longer supported in QB64 after '''version 1.000'''.
** You may have to replace instances of PRINT CHR$(7) in older programs to the [[BEEP]] statement to maintain the legacy functionality.
{{PageSeeAlso}}
2017-10-10 14:55:21 +00:00
* [[SOUND]], [[PLAY]]
* [[_SNDPLAY]] {{text|(play sound files)}}
* [[_SNDRAW]] {{text|(play frequency waves)}}
2019-04-15 01:15:33 +00:00
{{PageNavigation}}
<