Path: utzoo!attcan!uunet!husc6!bloom-beacon!gatech!mcnc!rti!hpurnca!joe From: joe@hpurnca.HP.COM (joe freeman ) Newsgroups: comp.sys.hp Subject: Re: spectrum or is it SPECTRUM??? Message-ID: <213@hpurnca.HP.COM> Date: 24 May 88 13:19:00 GMT References: <6430009@weycord.WEYCO.COM> <212@hpurnca.HP.COM> Reply-To: joe@hpurnca.UUCP (joe freeman ) Organization: Hewlett Packard, Cary, NC Lines: 21 In article <6430009@weycord.WEYCO.COM> jeffh@weycord.WEYCO.COM writes: > >I'm in the process of porting a little code from the 350 to the >825/35. Well, I ran into one small snag. My code is a digital >signal processing library and I deal with "spectrum"s quite a >bit. Anyway, The compiler complained every time I called a >spectrum a spectrum. > >The project name for the s800 is "spectrum" and I like my >spectrums called spectrum(s). Cpp changes "spectrum" to "1" >and the compiler complains "unexpected 1". Don't think "spectrum" >is a key word in "C"?? I believe that 'spectrum' is one of the predefined symbols used by the preprocessor so people can block out their code with 'ifdef's. You will find other symbols that are used, such as 'hpux' 'vax' 'unix'.... They are normally used to conditionally compile blocks of code depending on what machine it is on. You should either call your local SE or the response center if you think a change request should be filed.