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

adding properties

  • Operator
    • Creates a new property list by combining two property lists, using all of the properties from the first property list and adding any properties from the second property list that aren't already present in the first.

    • Example:

      set plainPaper to {size:"8x10", weight:20}
      set redPaper to {size:"any", color:"red"}
      put plainPaper adding properties of redPaper --> {color:"red", size:"8x10", weight:"20"}
    • modification in 1.64: changed to treat a property of the destination property list whose value is <missing value> the same as though the property were not there, and replace it with the corresponding source property value

    • Related: add properties, replacing properties, removing properties, retaining properties