Function definition: Difference between revisions

Content added Content deleted
imported>RonReu
imported>RonReu
Line 431: Line 431:
AppleScript also offers handlers with "prepositional" labeled parameters. These aren't used often because the set of AppleScript-defined prepositions makes it difficult to choose ones that make sense in English.
AppleScript also offers handlers with "prepositional" labeled parameters. These aren't used often because the set of AppleScript-defined prepositions makes it difficult to choose ones that make sense in English.


These prepositions can be used: <code>about, above, against, apart from, around, aside from, at, below, beneath, beside, between, by, for, from, instead of, into, on, onto, out of, over, since, thru, through, and under</code>. Also, <code>of</code> is also available, but if used it must be the first parameter.
These prepositions can be used: <code>about, above, against, apart from, around, aside from, at, below, beneath, beside, between, by, for, from, instead of, into, on, onto, out of, over, since, thru, through, and under</code>. Also, <code>of</code> is available, but if used it must be the first parameter.


Example:
Example: