# StructAndArray keywords

A StructAndArray keyword represents both a struct and an array. As a hypothetical example, struct Trunks contains one element, GlobalParm, with a global parameter string value. Also, array Trunks[x] contains a specific parameter string, SpecificParm, for trunk x.

Just as with Array keywords, the keyword name xxx.Count indicates the number of items assigned to array keyword xxx. Also, as with Struct keywords, the qualifier Keywords for a StructAndArray keyword represents an array containing a list of keywords within the struct. The qualifier Keywords.Count indicates the number of elements in the struct.

The StructAndArray keyword itself does not represent a value. If oamGetKeyword is performed for a keyword that is of type StructAndArray, the error OAMERR_NOT_FOUND is returned.