Produces a beep sound.
beep
beep(str)
str = beep
str - a string: 'on' or 'off'.
beep produces a beep sound.
If the optional argument is 'off', the beep sound is disabled.
If the optional argument is 'on', the beep sound is enabled.
If no argument is provided, the current state is toggled.
If an output argument is provided, the current state ('on' or 'off') is returned.
1.0.0
initial version
Last updated 3 months ago
beep('off') beep beep('on') beep s = beep