Code: Select all
class MyClass
{
__New( important_variable )
{
this.important_variable := important_variable
}
}
myobj := new MyClass( 'test' )
MsgBox myobj.important_variable
So is "new" really removed form AHK2 and I should call MyClass.New() instead?