Anyone can help me?
jeeswg's code:
Code: Select all
class MyZooClass
{
;in AHK v1 this is a key(/value property):
;in AHK v2 this is a value property:
MyValueProperty := "MyValuePropertyValue"
;in AHK v1 this is a key(/value property):
;in AHK v2 this is a value property:
static MyStaticProperty := "MyStaticPropertyValue"
MyMethod()
{
return "MyMethodValue"
}
MyDynamicProperty
{
get
{
return "MyDynamicPropertyValue"
}
set
{
}
}
__New()
{
}
__Get()
{
}
__Set()
{
}
__Call()
{
}
__Delete()
{
}
}
obj := new MyZooClass
vOutput := ""
vOutput .= "instance object:`r`n"
for vKey, vValue in obj
vOutput .= vKey " " vValue "`r`n"
vOutput .= "`r`n"
MsgBox, % vOutput