Hi Ann, Check the below code then you will came to know the usage of ReDim.
'Sample code for Usage of Redim ReDim A(5) A(5)=7 Print A(5) ReDim preserve A(3) Print A(5) Thanks Shiva Bandaru On Tue, Jan 11, 2011 at 10:42 PM, 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]<mercuryqtp%[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
