Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Tools : $BEEP

$BEEP
Issues the specified number of beeps from the terminal. (C)
Invocation
CALL $BEEP(repetition)
 
Usage Notes
Example
This rule, which uses an employee’s last name as input, gets an employee name and then calls a second rule for further processing. If the employee does not exist, the terminal emits two beeps and displays the end message.

 
RULE EDITOR ===> SCROLL: P
GET_EMPLOYEE(LAST_NAME);
_
_ ---------------------------------------------------------------------------
_ ------------------------------------------------------------+--------------
_ GET EMPLOYEES WHERE EMPLOYEE = LAST_NAME; | 1
_ CALL PROCESS_EMPLOYEE; | 2
_ ---------------------------------------------------------------------------
_ ON GETFAIL :
_ CALL $BEEP(2);
_ CALL ENDMSG('EMPLOYEE NOT FOUND');

 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved