Código Pascal
type
TFecha = record
dia: integer;
mes: string;
anio: integer;
end;
TMedicamento = array[0..2] of integer;
TPaciente = record
nombreCompleto: string;
edad: integer;
altura: real;
fechaNacimiento: TFecha;
medicamento: TMedicamento;
tope: integer;
end;
var
paciente: TPaciente;
begin
// Inicializamos el tope
paciente.tope := -1;
// Tu código aquí...
end.
Visualización del Registro