Ver Mensaje Individual
  #3 (permalink)  
Antiguo 12/03/2002, 10:49
Korrikalari
 
Fecha de Ingreso: diciembre-2001
Mensajes: 150
Antigüedad: 23 años, 4 meses
Puntos: 1
Re: Error al redimensionar un array

Hola Isabel:

Segun Microsoft:

ReDim releases the existing array and creates a new array with the same rank. The elements of the new array are initialized to the default value for their data type unless you specify Preserve.

If you include the Preserve keyword, Visual Basic copies the elements from the existing array to the new array. When you use Preserve, you can resize only the last dimension of the array , and for every other dimension you must specify the same size it already has in the existing array.

For example, if your array has only one dimension, you can resize that dimension and still preserve the contents of the array, because it is the last and only dimension. However, if your array has two or more dimensions, you can change the size of only the last dimension if you use Preserve .

Lamento darte malas noticias

Korrikalari