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

 Syntax
   func logical getconsole extern

 Arguments
   None.

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

 Description
   The getconsole() function returns the current setting of the
   console flag.

 Example
   #define EXAMPLE_IO
   #include example.hdr

   proc Test_getconsole
   ? getconsole()                      // prints .t.
   setconsole( .f. )
   ? "invisible"
   @ row() + 1, 0 say getconsole()     // prints .f.
   set console on
   ? getconsole()                      // prints .t.
   endproc

   proc main
   Test_getconsole()
   endproc

See Also: getsetconsole()

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