
With TAB, one can generate strings that consist of many spaces. Such strings are helpful when formatting output. TAB needs a single argument that is the number of spaces the string should contain.
This example prints a vertical triangular curve by using TAB statements
outmode -2
do
for s = 0 to 20
print tab(s);
print "*"
sleep 100
next
for s = 20 to 0 step -1
print tab(s);
print "*"
sleep 100
next
loop
Because of memory constraints, a single string in the Avisaro Scripting Language has a maximum size of 255 characters. Therefore, TAB should not be called with a greater value than 255.