C5_SET BELL

 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()

 

2 responses to “C5_SET BELL

  1. Pingback: C5 Environment | Viva Clipper !

  2. Pingback: C5 Commands | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.