Code: Select all
Test.ahk (11) : ==> Unexpected comma
Specifically: .Property[0,,4]
Code: Select all
Test.ahk (11) : ==> Unexpected comma
Specifically: .Property[0,,4]
Code: Select all
class x {
prop[v1, v2:="default"] {
get {
return v2
}
}
}
MsgBox % x.prop[0]
Code: Select all
%fn%()
xx.foo[]
xx.bar()
I wish it gets allowed since optional parameters w/ default values (esp. the ones in the beginning) are sometimes unusable at the moment.lexikos wrote:Yes, it's possible. It was disallowed before properties ...
Users browsing this forum: No registered users and 6 guests