Share via


SET MEMOWIDTH Command

Specifies the displayed width of memo fields and character expressions.

SET MEMOWIDTH TO nColumns

Parameters

  • nColumns
    Specifies a width between 8 and 8192 columns. The default width for output is 50 columns. If you issue SET COMPATIBLE ON or SET COMPATIBLE DB4, the default width is changed to 80 columns. If you specify a value for nColumns greater than 8192, width is set to 8192.

Remarks

SET MEMOWIDTH specifies the width of output sent to the main Microsoft Visual FoxPro window or a user-defined window by commands such as ? | ??, DISPLAY, or LIST. It affects the output width of memo fields and character expressions longer than 254 characters. It also affects the values returned by the ATCLINE( ), ATLINE( ), MEMLINE( ), and MLINE( ) functions.

Note that for ? and ?? the displayed width will not exceed 256 characters.

If output is directed to the main Visual FoxPro window, the width of the output is determined by the font for the main Visual FoxPro window. If output is directed to a user-defined window, the width of the output is determined by the font for the user-defined window.

SET MEMOWIDTH is scoped to the current data session.

See Also

ATCLINE( ) | ATLINE( ) | MEMLINES( ) | MLINE( ) | SET DATASESSION