4D v16.3

BEEP

Home

 
4D v16.3
BEEP

BEEP 


 

BEEP  
Does not require any parameters

The BEEP command causes the PC or Macintosh to generate a beep. Your computer (on Windows or Macintosh) can emit a sound other than a beep, depending on the sound chosen in the Sound control panel.

Warning: Do not call BEEP from within a Web connection process, because the beep will be produced on the 4D Web server machine and not on the client Web browser machine.

Example  

In the following example, if no records are found by the query, a beep is emitted and an alert is displayed:

 QUERY([Customers];[Customers]Name=$vsNameToLookFor)
 If(Records in selection([Customers])=0)
    BEEP
    ALERT("There is no Customer with such a name.")
 End if



See also 

PLAY

 
PROPERTIES 

Product: 4D
Theme: User Interface
Number: 151

This command can be run in preemptive processes

 
HISTORY 

Created: < 4D v6

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)