beep
beep(str)
str = beep
| Parameter | Description |
|---|---|
| str | a string: 'on' or 'off'. |
| Parameter | Description |
|---|---|
| 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.
beep('off')
beep
beep('on')
beep
s = beep
| Version | Description |
|---|---|
| 1.0.0 | initial version |