SourcePoint AMD Help

Table of Contents

tabs

Display or change the tab spacing.

Syntax

tabs [= expr]

Where:

expr

specifies a value between 1 and 8, inclusive.

Discussion

The tabs control variable displays or changes the tab spacing for output commands (printf, puts, etc.). The default value for tab spacing is 4. This variable can also be used in an expression.

Example

To save the current tab spacing, set a new spacing and then restore the old value:

Command input:

define int2 svtabs = tabs
tabs = 8
printf("%d\t%d\t%d\n", x, y, z)
tabs = svtabs

ย 

ย