Ver Mensaje Individual
  #2  
Antiguo 25-09-2016
Avatar de BDWONG
BDWONG BDWONG is offline
Miembro
NULL
 
Registrado: nov 2013
Posts: 113
Reputación: 11
BDWONG Va por buen camino
Hola puedes hacer una función que pida por parámetro un booleano y retorne SI o NO
Código Delphi [-]
function BoolToStr(v:Boolean):string;
begin
  if v then Result:='SI'
  else Result:='N0';
end;

begin
   Writeln(BoolToStr(FALSE));
   Writeln(BoolToStr(TRUE));
   Readln;
end.
Responder Con Cita