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

strictUnits

Global Property

Controls how strictly the units system is honored. Setting the property to False makes the system more relaxed about unit operations. For example, if you set this property to False, then add a plain number to one with units, SenseTalk treats the plain number as having the same units (so 7 ft + 3 = 10 feet) rather than throwing an exception. Other operations will drop the units (e.g., specifying a range of 4 acres to 6 lbs will give "4 to 6" and 3 ft + 4 gallons = 7).

Further Reading

Resources in our other reference manuals.

Related terms in the SenseTalk Dictionary.