Language Guide

CHAPTER 5
Objects and References
132 Reference Forms
The front form (for example, front window) is equivalent to className 1
or first className. The last and back forms (for example, last word and
back window) refer to the last object in a container. They are equivalent to
className -1.
The following forms refer to insertion points and are used to specify locations:
beginning | front
end | back
The beginning and front forms are equivalent and refer to the first insertion
point of the container (insertion point 1). The end and back forms are
equivalent and refer to the last insertion point of the container (insertion
point -1).
EXAMPLES
The following references specify the second word from the beginning of the
third paragraph.
word 2 of paragraph 3
2nd word of paragraph 3
second word of paragraph 3
The following references specify the last word in the third paragraph.
word –1 of paragraph 3
last word of paragraph 3
The following reference specifies the next-to-last word in the third paragraph.
word –2 of paragraph 3
The following references refer to the first insertion point of the document called
Introduction.
beginning of document "Introduction"
front of document "Introduction"