Previous Topic: Key StatementNext Topic: Type Statement


Attribute Definition

An attribute is an item of data related to a component. Attributes are defined in the scope of a group. The syntax of the attribute definition is:

start attribute
	name = "attribute name"
	id = nnn
	[description = "description string"]
	type = datatype
	[access = method]
	[storage = storagetype]
	[value = [v | * "name" | "enum string"]]
end attribute

The required id statement must have a value that is unique among all other attributes in the group. Groups must have at least one attribute definition. Many attribute definitions can appear in the group definition.