@Lexicos
In the latest versioned last week, return x:=unset will no longer return unset nor throwing, but return a blank string instead. Is it bydesign?
Code:
f(){
return x:=unset
}
c:=f()
OutputDebug(IsSet(c)) ;It is "" and output 1. But it will output 0 in versions<=2.03 instead.
[Only in 2.0.4] 'return x:=unset' will return a blank string Topic is solved
Re: [Only in 2.0.4] 'return x:=unset' will return a blank string
No, it is not intended.
Only someone who is trying to do things that are not allowed by the documentation would encounter this.
Only someone who is trying to do things that are not allowed by the documentation would encounter this.
Re: [Only in 2.0.4] 'return x:=unset' will return a blank string Topic is solved
Fixed by v2.1-alpha.2. f returns unset and c:=f() throws an error as intended.