Previous Book Contents Book Index Next

Inside Macintosh: AppleScript Language Guide / Part 2 - AppleScript Language Reference
Chapter 8 - Handlers

Subroutine Definitions and Calls

A subroutine definition contains

You cannot nest subroutine definitions; that is, you cannot define a subroutine within a subroutine definition.

The way you call a subroutine is determined by the way the subroutine
was defined:

The sections that follow describe how to define and call subroutines.

Subroutines With Labeled Parameters
Subroutines With Positional Parameters
The Return Statement

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996