Mono-Shell/Mono-Shell — pull request #1 by JayBazuzi (2012-10-27 06:50:52+00:00)
Title: If statements

The following things work:

PS> 1 -eq 1
True
PS> if (1 -eq 1) { 'yes' }
yes
PS> if (1 -eq 2) { 'yes' } else { 'no' }
no
PS> if (1 -eq 2) { 'yes' } elseif (1 -eq 1) { 'maybe' }
maybe

However, other comparisons (_e.g._ `-lte`) are NYI, as are conversions to bool (_e.g.) `if (gci foo.txt) { ... }`)