## Examining the Values of Variables While in Break Mode

You can examine the values of selected variables while in Break Mode. You get to be in Break Mode by one of the following:

• Your procedure generated a run-time error and halted.

• Your procedure reached a line with a breakpoint or a Stop statement

To see the current value of a variable, highlight the variable by double-clicking on it, or simply place the cursor over the variable. The current value of the variable will be displayed in a yellow "InfoBox" next to the cursor, as illustrated in Figure 2-25.

 Function MySLOPE(known_ys, known_xs) N - known_ys. Count For z- 1 To N Sx = Sx + known_xs(z) Sy = Sy + known_ys(z) Sxx = Sxx + known_xs(z) A2 Syy = Syy + known ys(z) A2 Syy = = 8507.926157 + known_xs(z) * known_ys(z) Next Z Slops = (N * Sxy • Sx * Sy) / (N * Sxx - Sx * Sx) MySLOPE = Slope End Function

Figure 2-25. Displaying the value of a variable while in break mode.

Figure 2-25. Displaying the value of a variable while in break mode.