Rexx - BEEP



This method produces a sound in the system at a particular frequency and duration.

Syntax

BEEP(Frequency,duration)

Parameters

  • Frequency − The frequency can be any whole number in the range of 37 to 32767 Hertz.

  • Duration − The duration will be in milliseconds.

Return Value

None − A beep sound will be triggered in the system.

Example

/* Main program */ 
BEEP(1000,200)

Output

A beep sound will be triggered in the system.

rexx_built_in_functions.htm
Advertisements