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
- new in 1.81
- Examples:
set phoneNum to <"(", {prefix:3 digits}, ")", {number:3 digits, "-", 4 digits}>
- Related: < > , replace