Wednesday, May 20, 2009

The Space function

The Space function
The Space function is very closely linked to the Tab function. However, there is a minor difference. While Tab (n) means the item is placed n spaces from the left border of the screen, the Space function specifies the number of spaces between two consecutive items. For example, the procedure

Example
Private Sub Form_Activate()
Print "Visual"; Space(10); "Basic"
End Sub


Means that the words Visual and Basic will be separated by 10 spaces

No comments:

Post a Comment