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 - getbell() return the bell flag http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 getbell()           Return the bell flag
------------------------------------------------------------------------------
 Declaration
   getset.hdr

 Syntax
   func logical getbell extern

 Arguments
   None.

 Return
   A logical indicating the current setting of the respective system flag.

 Description
   The getbell() function returns the current setting of the
   bell flag.

 Example
   #define EXAMPLE_IO
   #include example.hdr

   proc Test_getbell
   ? getbell()                 // prints .f.
   setbell( .t. )
   ? getbell()                 // prints .t.
   set bell off
   ? getbell()                 // prints .f.
   endproc

   proc main
   Test_getbell()
   endproc

See Also: getsetbell()

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