This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
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

 
PAGE CONTENTS 
 
HISTORY 

Created: < 4D v6

 
ARTICLE USAGE

4D Language Reference ( 4D v20 R7)