Examples: Tab function

LotusScript® prints the contents of firstN and lastN, using Tab() to separate them as follows:

Dim firstN As String, lastN As String
firstN$ = "Bob"
lastN$ = "Jeremiah"
Print firstN$; Tab(5); lastN$; Tab(1); lastN$; Tab(2); _
lastN$; Tab(3); lastN$

LotusScript® prints the contents of firstN and lastN, using Tab() to separate them as follows:

Bob Jeremiah
Jeremiah
 Jeremiah
  Jeremiah

The semicolons in the Print statement are optional; they have no effect on the output, because the print position is determined by Tab.