Changes

55 bytes added ,  16:19, 7 September 2023
no edit summary
Line 27: Line 27:  
dictionary[firstName] = "Rajesh"
 
dictionary[firstName] = "Rajesh"
 
dictionary[lastName] = "Kumar"
 
dictionary[lastName] = "Kumar"
dictionary[genger] = "man"
+
dictionary[gender] = "man"
 
dictionary[age] = 24
 
dictionary[age] = 24
 
dictionary[address] = sub-dictionary with 4 entries
 
dictionary[address] = sub-dictionary with 4 entries
Line 34: Line 34:  
dictionary[address][state] = "GJ"
 
dictionary[address][state] = "GJ"
 
dictionary[address][postalCode] = "394221"
 
dictionary[address][postalCode] = "394221"
dictionary[phoneNumbers] = sub-dictionary with 2 entries
+
dictionary[phoneNumbers] = sub-array with 2 entries
 +
dictionary[phoneNumbers][0] = sub-dictionary with 2 entries
 
dictionary[phoneNumbers][type] = "home"
 
dictionary[phoneNumbers][type] = "home"
 
dictionary[phoneNumbers][number] = 7383627627
 
dictionary[phoneNumbers][number] = 7383627627
 
</pre>
 
</pre>
 
You can then use the values of interest from the dictionary in your macros, for example to populate a weather summary from a weather API or similar.
 
You can then use the values of interest from the dictionary in your macros, for example to populate a weather summary from a weather API or similar.
editors
132

edits