Table IDs

<< Click to Display Table of Contents >>

Navigation:  User guide > Tables >

Table IDs

The table name printed on the output with the accumulated figures need not be the same as the table name. The identifier on the output table is called the table ID.

The ID parameter on the T (tabulate) or MT (manip table) command can be used to specify a table ID of up to 20 characters to be used in place of the table name.

Example:

t#1x2a (id=’My table’) =

... gives a table ID of My table

Otherwise, unless format ATN is set, the table name as specified is used as the table ID. If format NAID is used any letters in the name will be stripped from the printed table ID (whether or not quotes are used).

Example:

t#1x2a (f=naid) = 

... gives a table ID of 12

t#a5/2na (f=naid) = 

... gives a table ID of 5/2

If format ATN is set, then the printed table ID is a sequential number generated by the print step. Unless format STN is used, this automatic numbering starts at 1 for the first table printed under format ATN, and is incremented by 1 for each new table. Suppress heading tables and overflow pages do not affect the automatic table number.

Format STN can be used on a T (tabulate) command to set the automatic table number to a value (up to 4 digits are allowed).

Example:

t#12 (f=atn/stn344) = 

... gives a table ID of 344.

The next table ID printed under format ATN will be 345, and so on until format STN is reset, or format ATN set off.

If format HTN (hold table number) is set on a table, this prevents the incrementation of the automatic table number for this table:

f=atn,

t#12 (f=stn3) = 

... gives a table ID of 3

t#13 = 

... gives a table ID of 4

t#14a = 

... gives a table ID of 5

t#14b (f=htn) = 

... gives a table ID of 5

t#14c (f-htn) = 

... gives a table ID of 5

t#14x = 

... gives a table ID of 6

t#15 = 

... gives a table ID of 7

If formats NAID/ATN are used, any table whose printed table ID after the letters have been stripped is the same as the previous table will not have its automatic table number incremented.

Example:

f=atn/naid,

t#12 (f=stn3) = 

... gives a table ID of 3

t#13 = = 

... gives a table ID of 4

t#14a = 

... gives a table ID of 5

t#14b = 

... gives a table ID of 5

t#14c = 

... gives a table ID of 5

t#14x = 

... gives a table ID of 5

t#15 = 

... gives a table ID of 6