![]() | ![]() | Programming Guide |
Issues a beep from the terminal
void sm_bel( void );
sm_belcauses the terminal to beep, usually by transmitting the ASCIIBELcode to it. If there is aBELLentry in the video file,sm_beltransmits that instead. This usually causes the terminal to flash.Even if there is no
BELLentry, use this function instead of sending aBEL, because certain displays useBELas a graphics character.This function is automatically called when message text begins with
%B.
#include <smdefs.h>
/* Beep if cost is too high. */
if (sm_n_dblval("cost") > 1000.00 )
sm_bel();
![]()
![]()
![]()
![]()