Ver Mensaje Individual
  #1  
Antiguo 23-05-2006
Avatar de diniremix
diniremix diniremix is offline
Miembro
 
Registrado: abr 2006
Ubicación: Negaverso
Posts: 44
Reputación: 0
diniremix Va por buen camino
Arreglos Dinamicos

hola a tod@s y salu2

estoy bucando algo sobre arreglos dinamicos, tambien, alguien m dijo incluso sobre matrices dinamicas....
encontre algo aqui q dice algo como esto en el enlace lo explican mejor
Código Delphi [-]
var  a: array of integer;//var  a: array of array of integer;//
k := 0;
  SetLength(a, 4);              // 4 filas
  for i := 0 to 3 do begin      // Por cada fila
    SetLength(a[i], i + 1);     //   Establece el número de columnas
    for j := 0 to i do begin    //   Inicializa la fila
      a[i,j] := k;
      inc(k);
    end;
  end;
alguna idea?
gracias
bytes a tod@s
__________________
Diniremix ;)
Responder Con Cita