[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+---------------------------------+
|             ? | ??              |
+---------------------------------+
? | ?? [<expr1> [PICTURE <expC1>]
        [FUNCTION <expC2>]
        [AT <expN>] [STYLE <expr>]
        [, <expr2>]] ...

-----------------------------------
Evaluate expressions and display the results.
-----------------------------------

If SET PRINTER is ON, the output from both of these commands is directed
to both the screen and the printer.  If SET CONSOLE is OFF and SET
PRINTER is ON, output is directed to the printer only.

?
        Causes a carriage return and line feed to be sent before the results of
the expression.

??
        Displays the results on the current line at the current position of the
screen or printer.  No carriage return and line feed pair is sent.

PICTURE <expC1>
        The value of <expr1> is displayed according to the format specified by
<expC1>. <expC1> can be the same FUNCTION codes as with @...SAY/GET.
Refer to @...SAY/GET for a list of FUNCTION codes.

FUNCTION <expC2>
        Equivalent to specifying function codes in the PICTURE clause except
that the @ is no longer needed.

        A special function code can be used with the ? and ?? commands:

        V <n>
        -----

        Allows the output to stretch in a vertical direction while limiting the
number of horizontal positions.  <n> is the maximum number of columns
that will be used for the display.

        The additional available function and template codes are listed with
the @ ... SAY/GET command.

AT <expN>
        Specifies the column number <expN> where the output will be displayed.
<expN> can be a UDF that returns a numeric value.

STYLE <expr>
        The optional STYLE clause lets you specify the font style and size of
output sent to the printer with ? and ??.  STYLE clause is ignored when
output from ? and ?? is sent to the screen or a window.

+---------------------------------+
|             Example             |
+---------------------------------+
? 15*(10+10)

? 'Welcome to '

?? 'FOXPRO'

-----------------------------------

See Also:  @ ... SAY/GET, SET MEMOWIDTH, SET PRINTER, SYSTEM MEMORY
VARIABLES

-----------------------------------

See Also: @ ... SAY/GET SET MEMOWIDTH SET PRINTER
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson