Name

-

Synopsis

subtraction ; unary negation

subtraction; unary negation

Syntax

number1 - number2
date - integer
date - date-number

Description

Subtracts the second operand from the first, or negates the single operand. Unary negation has very high precedence . On date arithmetic, see Chapter 13.

Get AppleScript: The Definitive Guide, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.