Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Cargar1Click(Sender: TObject); Var i : Word; begin V.Redimensionar(SGVector.ColCount); for I := 1 to V.Dim do V.ModElemento(i,StrToInt(SGVector.Cells[i-1,0])); end; procedure Vector.ModElemento(P: Word ; E: Integer); begin if (P>0) And (P<=Dimension) then Elemento[P]:=E else Raise Exception.Create('Error : Posicion fuera de rango'); end;