Home Online Manual
Top
Back: split
Forward: pause
FastBack: grobcov_lib
FastForward: poly_lib
Up: inout_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.2.5.8 tab

Procedure from library inout.lib (see inout_lib).

Usage:
tab(n); n integer

Return:
string of n space tabs

Example:
 
LIB "inout.lib";
for(int n=0; n<=5; n=n+1)
{ tab(5-n)+"*"+tab(n)+"+"+tab(n)+"*"; }
==>      *+*
==>     * + *
==>    *  +  *
==>   *   +   *
==>  *    +    *
==> *     +     *