Subj : Re: Win98 error To : borland.public.cpp.borlandcpp From : Bob Gonder Date : Sat Mar 13 2004 10:57 pm Thomas Maeder [TeamB] wrote: >Bob Gonder writes: > >> I'd expect if( ByteB < 27 ) to be a byte comparison. > >This is not a question about compilers. It's about how the language is >defined. I'm comfortable having an issue with the language. Wouldn't be the first time. Thinking on it,(guessing, really) maybe it was decided that scalars are ints because at the time, computers didn't really have (addressable) bytes. I know GE (27bit words 1965) didn't and I don't think CDC (64bit words 1970?) did either, but I didn't do much asm on the CDC. Don't have my BASM manual any more, but I don't think the IBM (360/370?) had them either. I know the IBM had to have had byte manipulation because I worked on front-ends, but I just can't remember the addressing details any more. I suppose I'd need to write it as if( ByteB < (BYTE)27 ) That for sure's gotta get me a byte compare...but it seems rather redundant. Side note: _Are_ ints going to be 64 soon? I've been very carefull to never place ints in structs. That's good, right? .