FutureBasic Logo

<<    Index    >> FutureBasic

def tab   statement

def tab [ = ] fieldWidth

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, FutureBasic 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