Terminator
A terminator is a syntax object that appears at the end of a data object. The terminator becomes part of the data type definition.
- None
- There are no terminators.
- Literal
- A constant value. Expand the Terminator property to define the literal terminator Value.
- Variable
- Allow for possible values. Expand the Terminator property to define the variable terminator Default, Item, and Find properties.
For example, a carriage return/linefeed (CR/LF) at the end of a record is the record's terminator.
Generally, if the data ends with a given syntax object, you should define a literal terminator. For example, it is very common to define a CR/LF as a terminator of a record when you know that the record always ends with a CR/LF, regardless of where the record appears.