Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - beep() generate a system beep http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 beep()              Generate a system beep
------------------------------------------------------------------------------
 Declaration
   system.hdr

 Syntax
   proc beep extern

 Arguments
   None.

 Return
   None.

 Description
   beep() generates a system beep by sending an ASCII character 7 to the
   console. The frequency and duration of the beep depends on the machine
   characteristics.

 Example
   #define EXAMPLE_SYSTEM
   #include example.hdr

   proc Test_beep
   beep()                       // sound a beep
   ? "Reindexing required"      // display a message
   wait                         // wait for keypress
   endproc

   proc main
   Test_beep()
   endproc

See Also: sound()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson