> > > >PORTA = 0 will not trigger a warning as 0 or 1 is a valid byte. > > >In fact, it is a constant of type UNIVERSAL. It is silently casted to the >target type. Just like when assigning a smaller constant (or variable) to a >larger variable.
If such a warning would be added, there would probably pop up thousands of useless warnings and the libraries would have to be blown up by a real lot of explicit casts to get rid of the warning again. Compiler warnings are no repacement for reading the manuals. Greets, Kiste -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/jallib?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
