HEADERS WRITE

The syntax writes a row that contains header data to headers container. Returns the total number of rows inside the headers table.

Practical example

Command:

HEADERS WRITE
{
header01
header02
header03
#0
header05
#0
header07
}

Output:

WRITE_HEADERS :: DONE :: 1

Column counts and header counts are not strictly coupled. “#0” indicates empty header name.


HEADERS WRITE[index]

The syntax re-writes header data to a row in headers container based on the index.

  • index: The row number in the headers container.

Practical example

Command:

HEADERS WRITE[0]
{
header01
#0
#0
header04
header05
header06
header07
}

Output:

WRITE_HEADERS :: DONE

Column counts and header counts are not strictly coupled. “#0” indicates empty header name.


HEADERS WRITE[index, field, text]

The syntax writes one header into a dedicated place based on index and column numbers.

  • index: The row number in the headers container.
  • field: The column number.
  • text The desired header for the specified column.

Practical example

Command:

HEADERS WRITE[0, 1, header02]

Output:

WRITE_HEADERS :: DONE

If “#0” is written as text than an empty header will be created.