Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
meijeru opened this Issue · 1 comment

2 participants

@meijeru

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
Owner

Red should return none too in such case.

@dockimbel dockimbel closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.