What does this mean?
redim preserve VetRede(iCont)
VetRede is a variable declared in asp (I put this, otherwise the body of the question is out of standards, few words), ehehehe!
What does this mean?
redim preserve VetRede(iCont)
VetRede is a variable declared in asp (I put this, otherwise the body of the question is out of standards, few words), ehehehe!
The redim
constructor resizes an array at run time.
It is important that you also know the preserve
that is used to preserve existing values.
redim preserve array()
preserve
is not required, but it's good to know when you need it.
In a practical way
dim VetRede(5) ' Declara um array com 5 índices
redim VetRede(15) ' Redimensiona o array existente para suportar 15 índices.
redim preserve VetRede(15) ' Redimensiona o array existente preservando dados que porventura possam existir.