2 ms·
The big problem with Beep(), or so did thirteen-year-old me think, was that unless you were on Windows NT it ignored the arguments, always producing a sound wit
by networked 10y ago
The big problem with Beep(), or so did thirteen-year-old me think, was that unless you were on Windows NT it ignored the arguments, always producing a sound with the same frequency and duration. It meant that, despite it seeming like a straightforward replacement, you couldn't really use Beep() to port MS-DOS code that relied on Borland Pascal's CRT unit [1] to produce sound effects with the PC speaker.
[1] http://putka.upm.si/langref/turboPascal/0698.html http://putka.upm.si/langref/turboPascal/0698.html