Code: Select all
class myclass{
static field:="1234567890"
__New(p){
VarSetCapacity(this.field,256)
;~ this.SetCapacity("field", 256)
StrPut("abc", this.GetAddress("field"))
MsgBox, % StrGet(this.GetAddress("field"),10)
MsgBox,% this.field
}
}