Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Hull and Outfitting

The TABLE Statement

  • Last UpdatedJan 07, 2026
  • 2 minute read

TABLE,<tab_name>

[/ARGUMENTS=([<arg_1>[,<arg_2>....[,<arg_15>]....]])]

[/FORMAT=([<width_1>,<ndec_1>[,<width_2>,ndec_2>....

[,<width_15>,<ndec_15>]....]])]

[/FILENAME=<file_name>]

[/QUOTES]

[/NOAPPEND];

<tab_name> is the name of the table and has the type TABLE. The maximum length of <tab_name> is 32 characters.

ARGUMENTS=([<arg_1>[,<arg_2>.... [,<arg_15>]....]])

<arg_1>,<arg_2>, ....,<arg_25> are the arguments to be put in the table. They can have the type INTEGER, DECIMAL or STRING.

FORMAT=([<width_1>,<ndec_1>[,<width_2>,<ndec_2>....[,<width_15>,<ndec_15>]....]])

This attribute describes the format of the table. <width_1>,<width_2>, ...,<width_15> is the width of the column for the i:th argument. It has the type integer. The default width is 8 which will be the result if FORMAT is not given or if the width for a variable is omitted (that means, given as ,,). If the width is negative the result will be positioned left-justified, otherwise right-justified.

<ndec_1>,<ndec_2>, ...,<ndec_15> is the number of decimals for the i:th argument. It has the type integer. The default number of decimals is 3 which will be the result if FORMAT is not given. It is of course only necessary to give the number of decimals for arguments of type DECIMAL. In other cases it can be omitted (that means, given as ,,) or given as 0.

The attributes ARGUMENTS and FORMAT must be given together and with the same number of parameters.

FILENAME=<file_name>

<file_name> is the file where the table will be presented when the PRESENT statement is used. It has the type STRING.

QUOTES

When this attribute is given in the TABLE statement all terms will be surrounded by ' '. The resulting file can then directly be used as input to the Report Generator.

NOAPPEND

When this attribute is given in the TABLE statement the old contents in <tab_name> will be deleted and the <tab_name> can be used for another table. The attribute must also be given the first time <tab_name> is used.

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in