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

 Syntax
   proc setconsole extern
   param value logical lOn

 Arguments
   lOn is the new setting for the flag.

 Return
   None.

 Description
   The setconsole() function sets the console flag according to the
   passed parameter.

 Example
   #define EXAMPLE_IO
   #include example.hdr

   proc Test_setconsole
   ? getconsole()                // prints .t.
   set console off
   ? getconsole()                // would print .f.
   setconsole( .t. )
   ? getconsole()                // prints .t.
   endproc

   proc main
   Test_setconsole()
   endproc

See Also: getsetconsole()

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