# Conditional Expressions

The value of x is @x@
The value of y is @y@
The value of n is @n@
The value of bool_t_p is @bool_t_p@
The value of bool_1_p is @bool_1_p@
The value of bool_f_p is @bool_f_p@
The value of bool_0_p is @bool_0_p@

Operator | Test | Result
--- | --- | ---
`eq` | `if \@x\@ eq 5` | <if @x@ eq 5>X is 5</if><else>X is not 5</else>
`eq` | `if \@x\@ eq 6` | <if @x@ eq 6>X is 6</if><else>X is not 6</else>
`eq` | `if \@n\@ eq "Fred's Flute"` | <if @n@ eq "Fred's Flute">N is "Fred's Flute"</if> <else>N is not "Fred's Flute"</else>
`eq` | `if \@n\@ eq "Fred"` | <if @n@ eq "Fred">N is "Fred"</if> <else>N is not "Fred"</else>
`defined` | `if \@x\@ defined` | <if @x@ defined>x is defined</if> <else>x is undefined</else>
`nil` | `if \@x\@ nil` | <if @x@ nil>x is nil</if> <else>x is nonnil</else>
`defined` | `if \@z\@ defined` | <if @z@ defined>z is defined</if> <else>z is undefined</else>
`nil` | `if \@z\@ nil` | <if @z@ nil>z is nil</if> <else>z is nonnil</else>
`defined` | `if \@w\@ defined` | <if @w@ defined>w is defined</if> <else>w is undefined</else>
`nil` | `if \@w\@ nil` | <if @w@ nil>w is nil</if> <else>w is nonnil</else>
`nil` | `if \@w\@ nil` | <if @w@ nil>w is nil</if> <else>w is nonnil</else>
`true` | `if \@bool_t_p\@ true` | <if @bool_t_p@ true>ok</if> <else>not ok</else>
`true` | `if \@bool_1_p\@ true` | <if @bool_1_p@ true>ok</if> <else>not ok</else>
`true short` | `if \@bool_t_p\@` | <if @bool_t_p@>ok</if> <else>not ok</else>
`true short` | `if \@bool_1_p\@` | <if @bool_1_p@>ok</if> <else>not ok</else>
`false` | `if \@bool_f_p\@ false` | <if @bool_f_p@ false>ok</if> <else>not ok</else>
`false` | `if \@bool_0_p\@ false` | <if @bool_0_p@ false>ok</if> <else>not ok</else>