BEEPQQ

Run-Time Subroutine: Sounds the speaker at the specified frequency for the specified duration in milliseconds.

Module: USE DFLIB

Syntax

CALL BEEPQQ (frequency, duration)

frequency
(Input) INTEGER(4). Frequency of the tone in Hz.


duration
(Input) INTEGER(4). Length of the beep in milliseconds.

BEEPQQ does not return until the sound terminates.

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB

See Also: SLEEPQQ

Example

  USE DFLIB
  INTEGER(4) frequency, duration
  frequency = 4000
  duration  = 1000
  CALL BEEPQQ(frequency, duration)