Everything
2.12.5.2 Modify the contents of local variables

Values and arguments of local variables can be edited.

Select the value of the local variables/arguments to edit in the [Value] area, then click on it again to switch the value to edit mode (press the [Esc] key to cancel the edit mode).

To write the edited value to the target memory, directly enter the value from the keyboard then press the [Enter] key. At this time, the edited value is checked and if it is incompatible with the type, the editing is invalidated.

Caution

This operation cannot be performed during program execution.

Remark 1.

If a number with fewer digits than the size of the variable is entered, the higher-order digits will be padded with zeroes.

Remark 2.

If a number with more digits than the size of the variable is entered, the higher-order digits will be masked.

Remark 3.

If the display format of a character array (type char or unsigned char) is set to ASCII, then the value can also be entered as a string (ASCII/Shift-JIS/EUC-JP/Unicode (UTF-8/UTF-16 Big-Endian/UTF-16 Little-Endian/UTF-32 Big-Endian/UTF-32 Little-Endian)).

Remark 4.

ASCII characters can be entered to values of local variables.

-

Entering via an ASCII character
In the [Value] area for the variable "ch", enter "'A'"
>> "0x41" will be written to the memory area allocated to "ch"

-

Entering via a numeric value
In the [Value] area for the variable "ch", enter "0x41"
>> "0x41" will be written to the memory area allocated to "ch"

-

Entering via an ASCII string
Set the display format of character array "str" to ASCII, and in the [Value] area, enter ""ABC""
>> "0x41, 0x42, 0x43, 0x00" will be written to the memory area allocated to "str"