This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
manual:Dictionaries [2021/05/31 03:33] ccstone [AppleScript] |
manual:Dictionaries [2021/05/31 03:33] ccstone [AppleScript] |
||
---|---|---|---|
Line 43: | Line 43: | ||
set newDict to make new dictionary with properties {name:"Shop Prices"} | set newDict to make new dictionary with properties {name:"Shop Prices"} | ||
- | # If you don't set a value the newly created dictionary above goes up in smoke. | + | # If you don't set a key/value pair the newly created dictionary above goes up in smoke. |
tell newDict | tell newDict | ||
make new dictionary key with properties {name:"Coffee", value:"3.50"} | make new dictionary key with properties {name:"Coffee", value:"3.50"} |