VB.NET Language in a Nutshell

   
Tab Function

Class

Microsoft.VisualBasic.FileSystem

Syntax

Tab[( column )]

column (optional; Short)

A column number to which the insertion point will move before displaying or printing the next expression

Return Value

A TabInfo structure

Description

Moves the text-insertion point to a given column or to the start of the next print zone

Rules at a Glance

Value of column

Position of insertion point

Current column > column

Moves one line down to the column column.

column > Output Width

Uses the formula column Mod width . If the result is less than the current insertion point, the insertion point will move down one line; otherwise , the insertion point will remain on the same line.

< 1

Column 1

Programming Tips and Gotchas

The Tab function without a column argument is useful when outputting data to a file using the Print or PrintLine statement especially in locales where the comma would be recognized as a decimal separator.

See Also

Spc Function

   

Категории