Constant
It can be classified to integer constant, double constant and character constant. The range of value is as follows:
Integer Constant
|
-2147483648 to 2147483647
|
Double Constant
|
-1.0E30 to 1.0E30
|
Character Constant
|
255 Characters
|
Integer constant can be indicated by decimalist, it also can be indicated by hexadecimal, octal and binary. The method is as follows.
Hexadecimal:&h (Example:&hff,&h7fff)
Octal:&o (Example:&o77,&o3447)
Binary:&b (Example:&b1111,&b01100111)
In the "A&=&hff" condition, if we uselist command to show procedure, the result will be decimalist such as A&=255.