GRAPHIC SET WORDWRAP statement  

Purpose

Enables or disables Graphic WordWrap Mode.

Syntax

GRAPHIC SET WORDWRAP [NumrExpr&]

Remarks

GRAPHIC SET WORDWRAP enables or disables WordWrap mode for the graphic target which is currently attached to the graphic stream.  It has no effect on any other graphic target.  If NumrExpr& is true (non-zero), WordWrap mode is enabled.  If false (zero), wrap mode is disabled. If NumrExpr& is missing, the default is to enable WordWrap Mode.

With WordWrap Mode, you can control how PowerBASIC prints text on a graphic target when it reaches the end of a line.  Since a graphic target operates on a full page basis, the default is to ignore text which is printed past the end of the line.

When WordWrap mode is enabled, it affects only GRAPHIC PRINT operations.  If GRAPHIC PRINT attempts to display a word beyond the end of a row, the entire word is automatically wrapped to the first column of the next row.

See also

GRAPHIC CELL, GRAPHIC GET WORDWRAP, GRAPHIC SET WORDWRAP, GRAPHIC SET WRAP, GRAPHIC SPLIT