Function DevOutPict() Foundation

Outputs a value with a picture format to the current output device.

Syntax
DevOutPict(<Expression>, <cPicture>, [<cColor>]) --> NIL
Parameters
<Expression>
<Expression> is the value to output.
<cPicture>
<cPicture> defines the format for the output of <Expression>. Formatting rules are the same as for @...SAY or Transform().
<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 DevOutPict() is always NIL.

Description

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

Examples
Comparison of DevOutPict() and @..SAY
// The example shows the output of a value with 
// DevOutPict() and with the command @...SAY: 

PROCEDURE Main 

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

   @ 5, 10 SAY "James Bond's BMW" PICTURE "@!" 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.