Syntax ? using while|until

I was looking to find the answer to this, but it just became easier to ask here:

In Crystal|Ruby you can do these:

xzy if ab

xzy unless ab

And you can do this in Ruby but not Crystal, and I was just wondering why?

xzy while ab

xzy until ab
1 Like

Thanks @asterite. I remember seeing that a looong time ago, but couldn’t find it.