Hi Ann, Property of Redim is Resizing the given array. If u reduce the size of array, you lose the data in the eliminated elements. Ex If Array size is 8 If u reduce the array size to 5 u will lost the data in the eliminated elements(ie data in the a(5),a(6) anda(7) elements will lost).
Regards, Vivek On 1/12/11, ann hoang <[email protected]> wrote: > > Hi all, > > Have anyone ever try to redim array? I try to redim array but it doesn't > work. > For example: first time, I have dim array size 5 but second time, I try to > redim array size 3 but it doesn't work. It still shows arr[4] and arr[5] > empty. Please advise! > Many thanks > > Ann. > > > > > -- > 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 "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
