Ver Mensaje Individual
  #4  
Antiguo 12-06-2004
Avatar de cbrrr
cbrrr cbrrr is offline
Miembro
 
Registrado: jun 2004
Posts: 57
Reputación: 23
cbrrr Va por buen camino
Para ampliar un poco la definición de eduarcol, también decir que existen los arrays dinámicos

Código Delphi [-]
 var
   MiArray: array of string;
   i: integer;
 begin
   // establecemos longitud
   SetLength(MiArray, 10);
 
   // ponemos algún valos al array
   for i := 0 to High(MiArray) do
     MiArray[i] := IntToStr(i);
 
   // visualizamos el array
   for i := 0 to High(MiArray) do
     ShowMessage(MiArray[i]);
 
   // redimensionamos el array
   SetLength(MiArray, 15);
 
   ......................
 end;
__________________
Si no tienes algo que decir más importante que el silencio, cállate
Responder Con Cita