Code: Select all
o:=new c
i:=1
; _:=o.k%i% ;Expected, but get error: Missing space or operator before this. V2;
; ;Ambiguous or invalid use of "." V1
;~ _:=o["k" i] ;correct
ExitApp
class c{
__Get(k){
ToolTip % k
}
}
Code: Select all
o:=new c
i:=1
; _:=o.k%i% ;Expected, but get error: Missing space or operator before this. V2;
; ;Ambiguous or invalid use of "." V1
;~ _:=o["k" i] ;correct
ExitApp
class c{
__Get(k){
ToolTip % k
}
}