User Tools

Site Tools


method_overloading

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
method_overloading [2018/01/24 13:55]
wolfgangriedmann
method_overloading [2018/01/24 13:56] (current)
wolfgangriedmann
Line 32: Line 32:
 Of course this applies also to longer parameter lists. Here a sample piece of code that uses overloaded constructors and chains them: Of course this applies also to longer parameter lists. Here a sample piece of code that uses overloaded constructors and chains them:
 <​code>​class MyClass <​code>​class MyClass
 +  protect _cFullName as string
  
 constructor( cFullName as string ) constructor( cFullName as string )
 +  _cFullName := cFullName  ​
   return   return
   ​   ​
method_overloading.txt ยท Last modified: 2018/01/24 13:56 by wolfgangriedmann