Previous Book Contents Book Index Next

Inside Macintosh: AppleScript Language Guide / Part 2 - AppleScript Language Reference


Chapter 6 - Expressions

An expression is any series of AppleScript words that has a value. You use expressions to represent or derive values in scripts. When AppleScript encounters an expression, it converts it into an equivalent value. This is
known as evaluation.

Chapter 3 describes and gives examples of the simplest kinds of expressions, called literal expressions, which are representations of values in scripts. This chapter begins by describing how to evaluate expressions. It then describes five additional types of expressions:


Chapter Contents
Results of Expressions
Variables
Creating Variables
Using Variables
The "A Reference To" Operator
Data Sharing
Scope of Variables
Predefined Variables
Script Properties
Defining Script Properties
Using Script Properties
Scope of Script Properties
AppleScript Properties
Text Item Delimiters
Reference Expressions
Operations
Operators That Handle Operands of Various Classes
Operator Precedence
Date-Time Arithmetic

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996