Path: utzoo!utgpu!water!watmath!clyde!ima!haddock!suitti From: suitti@haddock.ima.isc.com (Steve Uitti) Newsgroups: comp.sys.mac.programmer Subject: LSC #if Message-ID: <9806@haddock.ima.isc.com> Date: 21 Oct 88 00:52:48 GMT Organization: Interactive Systems, Boston, MA Lines: 17 LSC doesn't seem to support constructs like: #if defined(foo) which can be converted to #ifdef foo, but #if defined(foo) || defined(MOONISBLUE) is much harder to convert. In anycase it is a royal pain. These construct have been in UNIX cpp's forever, if not actually being documented. I think ANSI defines them. I don't remember if 2.xx had this or not. 3.0 doesn't. For some reason, I can never remember that this was such a pain for more than a few minutes. This could be why they aren't there. Complicated #if constructs appear in brand new code that is designed to work on a single system (like the mac) all the time. There are thousands of reasons to use them (I know, name two...). Someone please tell me I'm wrong. (thankyou). Stephen.