Ver Mensaje Individual
  #2  
Antiguo 14-06-2006
Avatar de seoane
[seoane] seoane is offline
Miembro Premium
 
Registrado: feb 2004
Ubicación: A Coruña, España
Posts: 3.717
Reputación: 26
seoane Va por buen camino
Me parece que no hay nada parecido en delphi, pero tampoco tiene mayor dificultad hacer una:

Código Delphi [-]
function iif(Value: Boolean; Str1, Str2: String): String;
begin
  if Value then
    Result:= Str1
  else
    Result:= Str2;
end;
Responder Con Cita