Tema: Matrices
Ver Mensaje Individual
  #2  
Antiguo 09-03-2005
Avatar de roman
roman roman is offline
Moderador
 
Registrado: may 2003
Ubicación: Ciudad de México
Posts: 20.269
Reputación: 10
roman Es un diamante en brutoroman Es un diamante en brutoroman Es un diamante en bruto
Puedes usar arreglos dinámicos:

Código Delphi [-]
type
  TMatriz: array of array of Integer;

Para ajustar las dimensiones de una variable M de tipo TMatriz usas SetLength:


Código Delphi [-]
SetLength(M, 5, 7);

// Saludos
Responder Con Cita