Skip to main content
Version: 25.3

{ } (curly braces)

Used to Enclose Property Lists

Examples:

set dog to {name:"Fido", breed:"poodle", color:"black"}
set scores to {} --> an empty property list, may also use "{:}"
note

SenseTalk is very accommodating about the brackets used for collections, allowing any of ( ), [ ], or { } around both lists and property lists. However, it is strongly encouraged to always use { } for property lists, and [ ] for lists.

Used Around Capture Groups in a Pattern (Added in SenseTalk 1.81)

Examples:

set phoneNum to <"(", {prefix:3 digits}, ")", {number:3 digits, "-", 4 digits}>

Related terms in the SenseTalk Dictionary.