User Tools

Site Tools


codesamples:named_parameters

This is an old revision of the document!


Named parameters 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.1527690948.txt.gz · Last modified: 2018/05/30 14:35 by wolfgangriedmann