Inform technical: Evaluating values


Mon, 16 Oct 1995 14:28:58 -0500

When is the next version of the Inform compiler going to be released? I
have a suggestion..can Inform be made capable of evaluating things as a
true or false value without an operator like ==, <, >, etc.? For
instance, this should be totally feasible in Inform:

while (1) { .... }

As should these:

if (xflags & SOME_FLAG) { ... }
if (hints_avail) { ... }
if (~(some_val || (d > 2)) && some_other_val) { ... }

Is this in the works?

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 { ... }

-- 
--- Sam Hulick ------------- shulick@indiana.edu ---------------------
Systems Consultant        | Homepage:
Indiana College Placement |    http://copper.ucs.indiana.edu/~shulick/
  and Assessment Center   | PGP public key available on request