< Futurebasic < Language < Reference

Syntax

DEF TAB

Description

This statement sets the default print field width to fieldWidth characters. This affects the number of space characters which are output when a comma is encountered in subsequent PRINT, PRINT# and LPRINT statements. When an item in such a statement follows a comma, FB outputs enough space characters so that each new item begins in a new print field which is fieldWidth characters wide. fieldWidth must be between 1 and 255. When the program starts, the default print field width is 16 characters. The value of the print field width affects comma-delimited items whether they're sent to a disk file or to a display device.

See Also

WIDTH

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.