Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
Delphi 10.2 Tokyo Professional
|
Re: Umgang mit vielen optionalen Parametern
1. Apr 2010, 20:59
Dir ist schon klar, dass folgendes geht:
Delphi-Quellcode:
function foo(a: Integer; b: Integer = 0; c: Integer = 0): z;
foo(1);
foo(1,2);
foo(1,2,3);
?
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."
|