Ver Mensaje Individual
  #4  
Antiguo 09-08-2011
Avatar de newtron
[newtron] newtron is offline
Membrillo Premium
 
Registrado: abr 2007
Ubicación: Motril, Granada
Posts: 3.467
Reputación: 21
newtron Va camino a la fama
A ver si consigo entender lo que quieres decir. Si se tienen que cumplir varias condiciones puedes ponerlas todas en un mismo if. Por ejemplo:

Código Delphi [-]
If (A=B) and (C=D) and (E=F) then
  ShowMessage('Correcto')
else
  ShowMessage('Incorrecto');

también puedes hacer algo así:

Código Delphi [-]
If A=B then begin
  .....(codigo)
end else if C=D then begin
  .....(codigo)
end else if E=F then begin
  .....(codigo)
end if;

Saludos
__________________
Be water my friend.
Responder Con Cita