Small mistake in Reference (Binary Integer Constants)

Hi, i think i found a small mistake in Integer Constants - Arduino Reference

binary constants are supposed to look like this
0bxxxxxxxx
or
0Bxxxxxxxx

and not as described a simple B.

The 0b01010101 format is a gcc extension, and not standard C.
The B00101010 format is something provided by "binary.h" in the library include files (a bunch of ordinary preprocessor symbols assigned the appropriate binary values.)
This means that the Bxxxx format is more portable to other compilers.

which other compiler will accept the Bxxxxx format without that huge definition file?

which other compiler will accept the Bxxxxx format without that huge definition file?

None, and neither does gcc. But the huge definition file is completely standard and should work with any compiler.

You can also keep an eye out for this neat set of macros that lets you specify binary constants like:

PORTB = B8(1010);