Declaration Statements - SET_TABS



Your Ad Here

Some controllers require that the output will be in fixed columns. The SET_TABS declaration statement enables you to set the tab positions. Then, in a block, when the special constant TAB_ is sent to output, blanks will be inserted from the current position to the next tab stop.

Notes:

Example 1:

SET_TABS 4 8 12 16;

In the above statement, TAB stops have been set at positions 4, 8, 12 and 16.

Example 2:

OUTPUT \J "12345678901234567890";
OUTPUT \J TAB_ "A" TAB_ "B" TAB_ "C" TAB_ "D";
OUTPUT \J "*" TAB_ "A";
OUTPUT \J "***" TAB_ "A";
OUTPUT \J TAB_ TAB_ TAB_ TAB_ "D";

The output file:

12345678901234567890
     A       B       C        D
*      A
***    A
                              D

 

Return to Cimatron Index


Your Ad Here