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 - set console control the console flag http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 set console         Control the console flag
------------------------------------------------------------------------------
 Syntax
   set console on|off

 Arguments

 Description
   The set console controls the console flag. The default status of the
   console flag is on.

   If set console is on then output through the ? command is displayed to
   the screen.

   If set console is off then the output sent through the ? command will
   not be sent to the screen. However, the screen I/O will be sent to the
   printer or alternate file.

   The console flag has the same effect on the ?? and ??? commands.

 Example
   #define EXAMPLE_IO
   #include example.hdr

   proc Test_setconsole
   ? "This will be echoed to the screen."
   set console off
   ? "This line will not appear on the screen."
   ? "It will be sent to the printer or alternate file."
   set console on
   ? "You can see this line."
   endproc

   proc main
   Test_setconsole()
   endproc

See Also: getconsole()

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