17.07.2013 Views

GWBASIC User's Manual

GWBASIC User's Manual

GWBASIC User's Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

GW-BASIC <strong>User's</strong> Guide<br />

BEEP Statement<br />

Purpose:<br />

To sound the speaker at 800 Hz (800 cycles per second) for one-quarter of a second.<br />

Syntax:<br />

BEEP<br />

Comments:<br />

BEEP, CTRL-G, and PRINT CHR$(7) have the same effect.<br />

Examples:<br />

2340 IF X>20 THEN BEEP<br />

If X is out of range, the computer beeps.<br />

file:///C|/Documents%20and%20Settings/Lorenzo/Desktop/GW%20Basic/BEEP.html28/03/2004 21.29.13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!