Result of if, when condition is false, is arbitrary #321

meijeru opened this Issue Nov 29, 2012 · 1 comment


None yet
2 participants

meijeru commented Nov 29, 2012

Try print type? if false [1] ; this is logic!
Try print 1 + if false [2] ; this is 41 on my computer

I would guess that something is not set here. What does the language definition say? Should if false [anything] be none? It is in REBOL.


dockimbel commented Nov 29, 2012

Red should return none too in such case.

dockimbel closed this Nov 29, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment