Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
Delphi 10.2 Tokyo Professional
|
Re: Zwischen Geraden und ungeraden Zahlen unterscheiden
10. Mai 2007, 14:56
Ja die gibts:
Delphi-Quellcode:
function BauDirDochSelbstEine(Zahl: Integer): Boolean;
begin
Result := Zahl mod 2 = 0;
end;
Michael "Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
|