dictionary:unitinformation:hasunitproperty
Table of Contents
Has Unit Property
Returns true if the named property exists for the Unit.
Usage:
Has Unit Property (Property name, text) in unit (unit name, text) returns boolean
Example:
if (has unit property “abbreviated name” in unit “my unit with long name”) then write log “the abbreviated name of the unit is “ & (get unit property “abbreviated name” in unit “my unit with long name”) else write log “There is no abbreviated name for this unit" end if
See Also:
/home/e805485/machomeautomation.com/data/pages/dictionary/unitinformation/hasunitproperty.txt · Last modified: 2024/07/14 14:26 by James Sentman