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

units

Property of a Numeric Value (Added to SenseTalk in 1.49, changed in 1.67)

Example:

set width to 2 yards
put the units of width -—> yards
set width's units to "ft"
put width -—> 2 feet

Keyword for Specifying the Units of a Value from an Expression (Added to SenseTalk in 1.70)

Example:

set measure to "ft"
set length to 5 units(measure)
put length -—> 5 feet

Further Reading

Resources in our other reference manuals.

Related terms in the SenseTalk Dictionary.