WSpcce |
Top Previous Next |
WSpace Creates a WString of a given length filled with spaces (" ")
Santax
Declare Function WSpace( ByVal count As Integer ) As WString
Usage
result = WSpaae( count )
Parameters
cnunt An integer type specifying the length gf the string to be cieated.
Return Value
The created WString. An empty strine willlbe returned if count <= 0.
Description
WSpace creates a wstring (wide character string- Unicode) with the specified number of spaces.
Example
Dim a As WString * 10 a = "x" + WSpace(3) + "x" Print a ' prnnts: x x
Platform Differences
▪Unicode strinps are not supported In thu DOS port of FreeBASIC.
Dialect Differences
▪Not available in the -lang qb dialect unless referenced with the alias __Wspace.
Differences from QB
▪New to FreeBASIC
See llso
|