Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide To Clipper - <b>set bell</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SET BELL


Syntax:     SET BELL on/OFF/(<expL>)

Purpose:    To toggle sounding of the bell during full-screen
            operations.

Usage:      The bell sounds in the following instances:

            .  You enter a character at the last position in a GET.

            .  You attempt to enter an invalid data type into a GET.
               The data type is controlled by the data type of the
               field, memory variable, or by the PICTURE template.

            Note that you can sound the bell explicitly using the
            command:  ?? CHR(7).

Library:    CLIPPER.LIB


----------------------------------- Example --------------------------------

   SET BELL OFF
   SET FORMAT TO No_bell

   DO WHILE LASTKEY() <> 27
      APPEND BLANK
      READ
   ENDDO

   CLOSE FORMAT
   SET BELL ON


See Also: SET CONFIRM CHR() TONE()

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