| |||
| Home > AXD > AXD Facilities > Data formatting > Other | |||
This submenu includes all the remaining available formats that do not appear on other submenus. It also enables you to specify the number of bits of storage space you want allocated to a data item. The items on this submenu are:
See Decimal.
This format treats the value as an array of characters.
If you attempt to edit a character array formatted as a string, a String dialog is displayed, as shown in Figure 4.2.
You can choose whether to edit the string as ASCII or ASCIIZ. If you select ASCII, all characters up to the size of the array are replaced by the input characters. If you select ASCIIZ, a trailing character zero is always added as the final character of the array.
The dialog always opens with ASCIIZ set by default.
Type your character string in the edit box. If you enclose the string in quotes, AXD interprets it as a C++ escape string and the read-only box below the edit box shows how the string would be displayed. For example, if your input contains a null character, only the characters before the null are displayed. If you omit the quotes, all characters are treated as part of the string and it is passed directly to the display.
The current value of the string is displayed, together with its hexadecimal representation.
Select this format to display a value in hexadecimal format
without the usual leading 0x characters. If you
replace the displayed value your entry must still begin with 0x to
avoid being mistaken for a decimal value.
Select this format to display a value in an octal format without
the usual leading o character. If you replace
the displayed value your entry must still begin with o to
avoid being mistaken for a decimal value.
In addition there are size menus for other sized values. These menus do not indicate the current size of the data item. This part of the submenu shows:
Select this to display a further submenu containing all the formats that you can use with 8-bit data items.
Select this to display a further submenu containing all the formats that you can use with 16-bit data items.
Select this to display a further submenu containing all the formats that you can use with 32-bit data items.
Select this to display a further submenu containing all the formats that you can use with 40-bit data items.
Select this to display a further submenu containing all the formats that you can use with 64-bit data items.
Select this to display a further submenu containing all the formats that you can use with 80-bit data items.