User Tools

Site Tools


codesamples:named_parameters

Instance initializers in the constructor

function Start( ) as void
local oObject as MyClass
	
oObject := MyClass{}{ MyProp := "Hello X#" }
System.Console.WriteLine( oObject:MyProp )

return      

class MyClass
	
constructor()
	
  return
	
property MyProp as string auto
	
end class
codesamples/named_parameters.txt · Last modified: 2018/05/30 19:46 by wolfgangriedmann