Thema: Delphi IfThen Implementation

Einzelnen Beitrag anzeigen

darktrym

Registriert seit: 17. Jun 2020
11 Beiträge
 
Delphi 5 Professional
 
#8

AW: IfThen Implementation

  Alt 9. Sep 2021, 10:21
Delphi-Quellcode:
function IfThen(pCondition: Boolean; const pBranchTrue, pBranchFalse: String): String;
begin
  if pCondition then
    Result:= pBranchTrue
  else
    Result:= pBranchFalse;
end;
Hat diese Implementation dieses Problem auch?
  Mit Zitat antworten Zitat