GRAPHIC SET WRAP statement

Purpose | Enables or disables Graphic Wrap Mode.
Syntax | GRAPHIC SET WRAP [NumrExpr&]

Remarks

GRAPHIC SET WRAP enables or disables wrap 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), wrap mode is enabled. If false (zero), wrap mode is disabled. If NumrExpr& is missing, the default is to enable Wrap Mode.

With Wrap 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 Wrap Mode is enabled, it affects only GRAPHIC PRINT operations. If GRAPHIC PRINT attempts to display a character beyond the end of a row, it is automatically wrapped to the first column of the next row.

See also | GRAPHIC CELL, GRAPHIC GET WRAP, GRAPHIC PRINT, GRAPHIC SET SCROLLTEXT, GRAPHIC SET WORDWRAP, GRAPHIC SPLIT