Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.2 . The Guide To CA-Clippe - <b>set bell</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SET BELL
 Toggle automatic sounding of the bell during full-screen operations
------------------------------------------------------------------------------
 Syntax

     SET BELL on | OFF | <xlToggle>

 Arguments

     ON enables the BELL.

     OFF disables the BELL.

     <xlToggle> is a logical expression that must be enclosed in
     parentheses.  A value of true (.T.) is the same as ON, and a value of
     false (.F.) is the same as OFF.

 Description

     SET BELL is an environment command that toggles the sound of the bell.
     If SET BELL is ON, the bell sounds in the following situations:

     .  The user enters a character at the last position in a GET.

     .  The user attempts to enter invalid data into a GET.  The data
        is validated by the data type of the GET variable, the PICTURE
        template, and by the RANGE clause.  Violating a VALID condition does
        not sound the bell, regardless of the SET BELL status.

     To sound the bell explicitly, you can use either ?? CHR(7) or the TONE()
     function.  TONE() is perhaps more useful since you can vary both the
     pitch and duration of the sound.

 Files:  Library is CLIPPER.LIB.

See Also: @...GET CHR() SET CONFIRM TONE()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson