Language Guide

APPENDIX A
The Language at a Glance
304 Predened Variables
The Text Item Delimiters property, which is the only property you can get and
set using the global variable AppleScript, consists of a list of the delimiters
used by AppleScript when coercing lists to strings and when getting text items
from strings. This property is declared by AppleScript and is available from
any script. You can get and set it using this syntax:
AppleScript's text item delimiters
text item delimiters of AppleScript
Currently, only the first delimiter in the list is used by AppleScript.
Predefined Variables A
Table A-9 lists special variables that are defined by AppleScript. These variables
are global, that is, they are available anywhere in a script.
As with all other identifiers, predefined variables are not case sensitive. For
example, result, Result, and RESULT are all treated as the same variable.
Table A-8 Assignments and declarations
Assignment or declaration Syntax
Variable assignment
(and declaration if variable
has not previously been
declared)
copy expression to variable
copy reference to variable
set variable to expression
set variable to reference
Global variable declaration
global variable [, variable ]...
Local variable declaration
local variable [, variable ]...
Script property declaration
and assignment
property propertyLabel : expression
prop propertyLabel : expression