Hi Manoj, Comparing Dictionaries and Arrays A dictionary is a general-purpose data structure that looks like a linked list but acts like a "super array." Like VBScript arrays, dictionaries store data and make that data available through one variable. However, dictionaries differ from arrays in many ways, including · · · · A dictionary has additional methods to add new items and check for existing items. You don't need to call ReDim to extend the dictionary's size. When you delete a particular item from a dictionary, all the subsequent items automatically shift up. For example, if you delete the second item in a three-item dictionary, the original third item automatically shifts up into the second-item slot. You use keys to identify dictionary items. Keys can be any data subtype, except an array or dictionary. · A dictionary can't be multidimensional. · You can store an array or another dictionary object in to a dictionary object.
Thanks Venkat Reddy On Friday, January 4, 2013 10:20:19 AM UTC+5:30, Manoj wrote: > > Hi > I want to know what are the use of dictionary object over array? > please explain with example. > > > > > thanks > manoj > -- -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
