Example of variable syntax object as an item type
In this example, the group type Header has variable delimiter values of: , * + ~
- Create an item type with the Item Subclass of Syntax and the name Delimiter. (The name can be any valid type name, but naming this item Delimiter is useful).
- To define the item restrictions, double-click the Delimiter type. The item view is displayed.
- Define the restrictions in the Include column.
- In the Properties window, select Syntax for the Item Subclass property.
- Open the properties for the delimited group type Header.
- For the Syntax property, choose Delimited.
- For the Delimiter property, choose Variable.
- Expand the Delimiter property.
- Define the literal value.
- For the variable Delimiter Item property, choose the item type Delimiter from the drop-down list.
- Indicate that the variable delimiter should be determined for each occurrence of the object by selecting Yes for the property.