Functions and Directives

Function DevOut() Foundation

Outputs a value to the current output device.

Syntax
DevOut( <Expression>, [<cColor>] ) --> NIL
Parameters
<Expression>
<Expression> is the value to output.
<cColor>
The optional argument <cColor> can be used to specify the color used to display <Expression> on the screen. If <cColor> is not specified, the display is in the default color defined with SetColor(). When output is to a printer the color is ignored.
Return

The return value of DevOut() is always NIL.

Description

The output function DevOut() outputs the value of <Expression>to the current output device at the current cursor or print head position. The command @..SAY.. is implemented using the functions DevPos() and DevOut().

Examples
DevOut() compared to @..SAY
// The example shows the output of a value with 
// DevOut() and with the command @...SAY: 

PROCEDURE Main 

   DevPos( 5, 10) 
   DevOut( "James Bond's BMW", "W+/B" ) 

   @ 5, 10 SAY "James Bond's BMW" COLOR "W+/B" 

RETURN 
Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.