August 2001
Intermediate to advanced
656 pages
18h 5m
English
Space Function
Microsoft.VisualBasic.Strings
Space(number)number
Use: Required
Data Type: Integer
An expression evaluating to the number of spaces required
A String containing number spaces
Creates a string containing number spaces
While number can be zero (in which case
the function returns the empty string), runtime error 5,
“Invalid procedure call or argument,” is generated if
number is negative.
The Space function is most useful for creating a
string buffer, an area where an external function can write data to
be returned to the calling program.
Read now
Unlock full access