This code returns -1
for R3 and +1
for R2. I'd like to know what I am doing wrong.
f: func [] [
also return 1
return -1
]
f
You are doing nothing wrong; unfortunately you are tripped up by a known bug in R3. Basically, the also
incorrectly "eats up" the return
. Fortunately, we have a fix for this forthcoming. (If you want to help with testing, have a look at my fix-unwind-passing branch.) I hope we'll have this fix done and integrated shortly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With