Spc function (LotusScript Language)
Inserts a specified number of spaces in the output from a Print or Print # statement, beginning at the current character position.
Syntax
Spc ( numExpr )
Elements
numExpr
Any numeric expression whose value is between 0 and 32000, inclusive. numExpr designates the number of spaces to insert in the Print output.
Usage
If you specify a width for the file, numExpr interacts with that width as follows:
- If numExpr is smaller than the width, LotusScript® prints numExpr spaces.
- If numExpr is larger than the width, LotusScript® prints as many spaces as fit on one line, with the remainder appearing on the next line, until numExpr spaces have been printed*.*
You can set the width only for printed files. If you don't specify a width for the file, LotusScript® prints exactly numExpr spaces.