> -----Original Message----- > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf > Of Alexandre Guimar=E3es > Sent: 09 October 2008 14:26 > To: 'Microcontroller discussion list - Public.' > Subject: RES: RES: [PIC] Is there a IN statement > = > Hi, > = > >Always write the constant first. 5=3D=3Dy is valid, 5=3Dy is not > = > I do that ! My point is that we are in the 21st century :-) That > should not be necessary. The compiler should take care of it. We do not > think with the constant first. We need to make it that way because the > language syntax is not good enough to catch "typo's" ! The compiler does take care of it by providing a warning (unless it's a rea= lly poor compiler); if you choose it ignore it that is your choice. Why sh= ould the language have to change to the point of losing backwards compatibi= lity? I guess the point that many people seem to miss is that as high level langu= ages go, C is not very high at all. Many people consider it more a mid leve= l language, certainly a sizeable step up from assembler, but it does not pr= ovide the abstraction that true HLL's do. Mike =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This e-mail is intended for the person it is addressed to only. The information contained in it may be confidential and/or protected by law. If you are not the intended recipient of this message, you must not make any use of this information, or copy or show it to any person. Please contact us immediately to tell us that you have received this e-mail, and return the original to us. Any use, forwarding, printing or copying of this message is strictly prohibited. No part of this message can be considered a request for goods or services. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist