Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
14.979 Beiträge
 
#1

What do you think of functions overloads?

  Alt 26. Jan 2012, 08:20
In Delphi, you can overload functions, but doing so requires using the overload directive explicitly, f.i. the following code declares two functions with the same name, one that will be invoked if you pass an integer, another that will be invoked you pass a string: function MyFunc(a : Integer) : ...

More...
  Mit Zitat antworten Zitat