[ Team LiB ] |
12.3 TellA tell block , like an if block, comes in two forms: a genuine block and a single-line version. The block form is like this: tell target -- code end tell The single-line version is like this: tell target to command A tell block performs two distinct functions:
The fact that tell does both these things makes a certain sense. After all, if you're going to be sending messages to the Finder, you're probably going to want to talk to the Finder in the Finder's own language. Nevertheless, the two functions are distinct, and it is possible to do either one without the other:
On the determination of the target, see Section 10.2. On the resolution of vocabulary, see Chapter 19. |
[ Team LiB ] |