Data Types

lines

Supported By

Descriptors

Description

The lines data type is a chunk type of string that represents a range of lines. This includes empty lines at the beginning or in the middle of the string but not the last trailing empty line of the string, if there is one.

Note

Accessing a line chunk that is out of range returns empty. Modifying a line chunk that is out of range inserts as many line breaks as necessary to insert text on the appropriate line of the parent string.

Compatibility

The lines chunk type in HyperTalk always and only uses return as the line ending. The lines chunk type in XION uses return&newline, newline, return, linesep, and parasep as possible line endings. When inserting additional line breaks, lines uses the current setting of the lineEnding property.