You can change the value of a variable in the following ways: - Using the Deposit dialog box, accessed from the Commands menu on the main window - Clicking on a monitored value within the monitor view To change the value of a variable using the Deposit dialog box: 1. Do one of the following: - Find and select the variable name in a window, and choose the Deposit menu item from the Commands menu on the main window. The Deposit dialog box appears, with the name you selected in the Variable field. - Choose the Deposit menu item from the Commands menu on the main window. The Deposit dialog box appears. Enter the name of the variable to which you are depositing a value in the Variable field of the dialog box. 2. Enter the value you are depositing in the Value field of the dialog box. 3. If you are changing the input radix, pull down the menu in the Input Radix entry box and click on the desired radix. 4. Click on OK. Your echoed command appears in the command view, indicating that the value is changed. To change the value of a monitored value within the monitor view: 1. Monitor the variable as explained in the Monitoring a Variable topic. 2. Click on the variable's value in the Value/Deposit column of the monitor view. A small dialog box appears over that value, which you can now edit. 3. Enter the new value in the dialog box. 4. Click on the check mark (OK) in the dialog box. The dialog box is removed and replaced by the new value, which indicates that the variable now has that value. The debugger notifies you if you try to enter a value that is incompatible with the variable's type, range, and so on. To cancel a text entry and dismiss the dialog box, click on X (Cancel). You can change the value of only one component of an aggregate variable (such as an array or structure) at a time. To change the value of an aggregate-variable component: 1. Display the value of the component as explained in the Monitoring an Aggregate (Array or Structure) Variable topic. 2. Follow the procedure for changing the value of a scalar variable.