Width # statement (LotusScript® Language)

Assigns an output width to a sequential text file.


Width # fileNumber , width


# fileNumber

The file number that LotusScript® assigned to the file when it was opened. The file must be open. You must include both the pound sign (#) and the file number.


An integer expression in the range 0 to 255, inclusive, that designates the number of characters LotusScript® writes to a line before starting a new line. A width of 0, the default, specifies an unlimited line length.


If data to be written would cause the width of the current line to exceed the Width # setting, that data is written at the beginning of the next line instead.

The Print # statement is the only output statement affected by the Width # statement. Write # ignores the width set by Width #.