BIT
- BIT
- Bit variables are displayed as a string of 0 and 1 characters.
- *
- Bit variables are displayed in the default format (BIT).
- HEX
- Bit variables are displayed in hexadecimal. This mode is
especially useful for displaying long bit strings.
If the length of the bit string is not a multiple of 4 bits, the last hexadecimal character represents less than 4 bits. Since bit strings are left-aligned, the extraneous trailing bits are ignored if you overtype this nibble with a new value with 1 bits in any of these positions. A warning message is shown, and the new digit is displayed with the corrected hexadecimal value.
If the display format is not specified, a message shows the current display format for bit variables.
Return codes
- 0
- Operation successful
- 2
- Keyword truncated
- 5
- Not valid bit variable display format