NAME
-
spc - insert spaces in a print statement
SYNOPSIS
-
print
spc(NumExpr)
DESCRIPTION
-
The
spc
function may be used only with
print
and
print #
statements in order to cause a specified number of spaces to be
sent to the output.
The argument may be any numeric expression in the
range 0 to 255.
Basmark QuickBASIC does not add a newline when
spc
occurs at the end of a data list.
Instead, it executes as though the
spc
function had a semicolon after it.
EXAMPLE
-
The program
print "IGNORE" spc(10) "ALIEN" spc(10) "ORDERS"
produces
IGNORE ALIEN ORDERS
SEE ALSO
-
space$, print
DIAGNOSTICS
-
If NumExpr is less than 0 or greater than 255, an "Illegal
function call" error occurs.
from
The Basmark QuickBASIC Programmer’s Manual
by
Lawrence Leinweber