CompuServe Messages

switch()

    16-Dec-91 17:54:10
Sb: #17827-switch()
Fm: Steve Ahlstrom 76703,2006
To: Rob Salmon 71420,471
Rob, What you're trying to do doesn't make sense to me. From K&R: Any single character can be written between single quotes to produce a value equal to the numerical value of the character in the machine's character set; this is called a character constant. So, for example, 'A' is a character constant; in the ASCII character set its value is 65, the internal representation of the character A. In otherwords, you're misusing the single quoting convention. I am suprised that you're compiler didn't complain about this. -sja