Output function to skip spaces when writing to screen or file
Syntax
Spc( columns )
Usage
Print Spc( columns ) [(, | ;)] ...
Parameters
columns
number of columns to skip
Description
Spc skips n-
columns when
Printing to screen or to a file.
Example
Dim As String A, B, N, M
A = "Jane"
B = "DOE"
N = "Bob"
M = "Smith"
Print "FIRST NAME"; Spc(25); "LAST NAME"
Print "----------"; Spc(25); "----------"
Print A; Spc(35-Len(A)); B
Print N; Spc(35-Len(N)); M
The output would look like:
FIRST NAME LAST NAME
---------- ----------
Jane DOE
Bob Smith
Differences from QB
See also