2.172 .itemorder

This attribute is used to query the definition order for attributes and records within records. For each attribute there will be an A, for each child record there will be an R at the corresponding position in the string.

Definition

  • Data type

    string

  • Access

    get

Example

record R
{
  string Name;
  record Child1
  {
    integer Number;
    boolean On;
  }
  boolean Off;
}
print R.itemorder;

Output

"ARA"

Note

The .itemorder attribute is intended to provide the static definition order of the record children. It is not guaranteed that it will always and for any dynamic change of attributes and sub-records reflect the correct order of the children of a record.