%HI_Beep function


Function
The function %HI_Beep sounds the tone of the specified frequency and duration through the computer's speaker (control function).
Declaration
%HI_Beep(
   INT in freq, 
   INT in duration
 ) 

Parameters
freq Tone frequency within the interval 377 up to 32767 Hz.
duration Tone duration within the interval 0 up to 1000 ms.

Note
The function is synchronous, so it stops the execution of script actions for the time defined in the parameter duration [ms].
Napíšte komentár