Re: Inform technical: Evaluating values


17 Oct 1995 05:46:53 GMT

In article 1760@news.cs.indiana.edu, "Sam Hulick" <shulick@raisin.ucs.indiana.edu> writes:
.
.
.

>P.S., I was quite disappointed when "if (~(x == 1 && ....))" didn't work!
>I was forced to use some silly coding scheme like:
>
> if (blahblah...) ; ! do nothing
> else { ... }

You could write your expression this way

if (x ~= 1 || ....)

to avoid the empty if statement.

Bjorn Gustavsson