
nVertical tabs
Vertical tabs have the same kinds of uses that horizontal tabs do - they just work in the other direction. Horizontal tabs allow you to reach a specific column on the page no matter where you start from. Vertical tabs are the same. If you have a vertical tab set at line 20, a vertical tab (or < VT > ) will move you to line 20 whether you start from line 5 or line 19.
Vertical tabs are not set at the
10’ Demo of vertical tabs
40LPRINT CHR$(ll);"FIRSTTAB."
50LPRINT CHR$(ll);"SECOND TAB."
60LPRINT CHR$(ll);"THIRD TAB."
70LPRINT CHR$(ll);"FOURTH TAB."
Now, let’s set some vertical tabs of our own. Add these lines to the program:
20 LPRINT CHR$(27);"B";CHR$(lOl;CHR$(l5); 3,OLPRINT CHR$i25);CHR$(30l;CHR$(O);
<ESC > “B” is the command to set vertical tabs. Like the horizontal tab setting command, tab positions must be defined in ascending order. Our example sets vertical tabs at lines 10, 15, 25 and 30. Then the CHR$(l 1) in each of the following lines advances the paper to the next vertical tab. The printout is shown next page.