Newsgroups: rec.arts.int-fiction
Path: nntp.gmd.de!news.rwth-aachen.de!uni-paderborn.de!golden-gate.owl.de!fu-berlin.de!news.belwue.de!scsing.switch.ch!swidir.switch.ch!in2p3.fr!oleane!tank.news.pipex.net!pipex!newsfeed.internetmci.com!howland.reston.ans.net!vixen.cso.uiuc.edu!usenet.ucs.indiana.edu!news.cs.indiana.edu!shulick@raisin.ucs.indiana.edu
From: "Sam Hulick" <shulick@raisin.ucs.indiana.edu>
Subject: Inform technical: Evaluating values
Message-ID: <1995Oct16.142904.1760@news.cs.indiana.edu>
Organization: Vallen Software
Date: Mon, 16 Oct 1995 14:28:58 -0500
Lines: 27


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
