| Prev | Next | Basic Verbs > nthElement |
nthElement
| Syntax |
nthElement (class, n, container)
|
| Params |
class is a string4 identifying the Apple Object Model class. n is a number specifying the 1-based index position of the element being sought. container is the specifier of the object in which this verb specifies an element.
|
| Action |
Obtains a specifier for the nth element of class in container.
|
| Returns |
The object specifier of the indexed item.
|
| Examples |
nthElement (cWord, 4, x) » (specifies the fourth word in container "x")
|
| Platform Notes |
This verb is only implemented in the Mac OS version of Frontier.
|
| Notes |
To indicate the nil container, use the number zero. This verb is implemented as a small script that calls setObj, to which it is closely related.
|
| See Also |
setObj
|
| Prev | Next | Basic Verbs > nthElement |