Code: Select all
class a{
_NewEnum(){
return a
;~ throw Exception(A_ThisFunc,-2) ;a
}
Next(p*){
throw Exception(A_ThisFunc,-2) ;b
}
}
d:=new a
for _ in d{
}
MsgBox c
Code: Select all
class a{
_NewEnum(){
return a
;~ throw Exception(A_ThisFunc,-2) ;a
}
Next(p*){
throw Exception(A_ThisFunc,-2) ;b
}
}
d:=new a
for _ in d{
}
MsgBox c
Users browsing this forum: No registered users and 21 guests