A binary constant is an alternative way to represent a numeric constant. A binary constant takes one of the following forms:
You can specify up to 256 binary digits in a binary constant. Leading zeros are ignored.
The following examples demonstrate valid and invalid binary constants:
| ||The character 2 is invalid.|
| ||No apostrophe after the B.|
| ||No B before the first quotation mark.|