It is intentional and you just need () around the middle commented out example.
- Can if statements be used as expressions everywhere? TKurtBond
- Re: Can if statements be used as expressions everywhere? cblake
It is intentional and you just need () around the middle commented out example.