put lines 2 through 7 of steve into bill
put the third through eighth lines of steve into bill
put the lines of steve into bill
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.
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
.
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.