BELL

BELL

Top  Previous  Next

 

The BELL command determines whether the audible alarm is sounded by various QM verbs (typically on encountering error conditions) or by QMBasic programs using the @SYS.BELL function in a print operation directed to the terminal.

 

 

Format

 

BELL OFFTo disable the audible alarm

 

BELL ONTo enable the audible alarm

 

 

@SYSTEM.RETURN.CODE is returned as

0after BELL OFF
1after BELL ON
-veafter an error

 

 

Printing CHAR(7) to the terminal sounds the audible alarm regardless of the setting of the bell status.