メインコンテンツまでスキップ
バージョン:25.3

- (dash)

Subtraction Operator

  • (Support for the − character (Unicode 8722) was added in 1.67)

Example:

set total to originalBalance - withdrawalAmount

Synonyms:

  • minus

Related terms in the SenseTalk Dictionary.

Unary Negation Operator

Example:

put -x into inverse

Synonyms:

  • negative

Related terms in the SenseTalk Dictionary.

Used in numbers expressed in scientific notation for negative exponents

Example:

set featherWeight to 5e-6 grams

Used as a hyphen in certain words

Used in numbers expressed in words (thirty-four)

Example:

set waitingPeriod to seventy-two hours

Used in numeric data types (8-bit integer)

Example:

read from socket "dataport" for 3 16-bit integers