Purpose |
Retrieves the status of XPRINT WordWrap Mode. |
Syntax |
XPRINT GET WORDWRAP To WrapVar& Function Form: WrapVar& = XPRINT(WORDWRAP) |
Remarks |
XPRINT GET WORDWRAP retrieves the status of wordwrap mode and assigns it to the variable specified by WrapVar&. If WordWrap Mode is enabled, the value true (non-zero) is assigned. If it's disabled, the value false (zero) is assigned instead. The value returned reflects the status of the attached printer. With WordWrap Mode, you can control how PowerBASIC prints text on an XPRINT page when it reaches the end of a line. Since XPRINT operates on a full page basis, the default is to ignore text which is printed past the end of the line. This can be modified under program control by using XPRINT SET WORDWRAP. When WordWrap mode is enabled, it affects only XPRINT print operations. If XPRINT 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 |
XPRINT CELL, XPRINT GET WRAP, XPRINT SET WORDWRAP, XPRINT SET WRAP, XPRINT SPLIT |