Path: utzoo!attcan!uunet!ginosko!uakari.primate.wisc.edu!ames!ncar!tank!oddjob!matt From: matt@oddjob.uchicago.edu (Mens Sana in Campari Soda) Newsgroups: comp.unix.wizards Subject: Re: ``Constants'' in case Message-ID: <5602@tank.uchicago.edu> Date: 30 Sep 89 18:12:08 GMT References: <62@masalla.fulcrum.bt.co.uk> <1989Sep29.171831.29754@utzoo.uucp> Sender: news@tank.uchicago.edu Reply-To: matt@oddjob.uchicago.edu (Matt Crawford) Followup-To: comp.lang.c Organization: If you worked here you'd go home by now Lines: 14 In-reply-to: henry@utzoo.uucp (Henry Spencer) igb@fulcrum.bt.co.uk (Ian G Batten) writes: ) >``is (int) constant a constant?'' henry@utzoo (Henry Spencer) writes: ) In K&R1, the list of operators allowed in constant expressions did not ) include casts. This was probably an oversight If you're thinking of buying any book on C, look to see how they define "constant expression". I looked in the local bookstore here and found a number of titles such as "Absolutely complete ultimate C book!" which either did not define the term at all or simply defined it as "any expression involving only constants." Bah! ________________________________________________________ Matt Crawford matt@oddjob.uchicago.edu