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 device to set the output device for the say command http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 set device to       Set the output device for the say command
------------------------------------------------------------------------------
 Syntax
   set device to screen|print

 Arguments
   None.

 Description
   The set device to command sets the output device for the say command.
   set device to directs output to either the screen or the printer during a
   say. The default device is the screen.

 Example
   #define EXAMPLE_IO
   #include example.hdr

   proc Test_setdeviceto
   clear
   set device to print
   @ 10, 10 say "This goes to the printer."
   set device to screen
   @ 11, 10 say "This goes to the screen."
   endproc

   proc main
   Test_setdeviceto()
   endproc

See Also: getdevprt()

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