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:ToString() )
return
class MyClass
constructor()
return
property MyProp as string auto
method ToString() as string
return self:MyProp
end class
codesamples/named_parameters.1527690893.txt.gz · Last modified: 2018/05/30 14:34 by wolfgangriedmann