
Connect the Inspector
Verify the Connection
There are a number of ways to verify that the Inspector is connected:
- The Inspector window shows a Disconnect icon (see FIGURE 2.14).
- The Toolkit app on the Newton shows a "Disconnect Inspector" button (see FIGURE 2.15).
- You can execute code from the Inspector. Type in a simple arithmetic expression (such as
3 + 4
). Select it (see FIGURE 2.16) and press the enter key (not the return key). The code will be compiled, downloaded to the Newton, and executed. The return result will then be displayed in the Inspector (see FIGURE 2.17).

FIGURE 2.15 : The Toolkit app when connected.

FIGURE 2.16 : About to execute code in the Inspector.
Note:
While the Inspector is connected, the Newton will not sleep (neither automatically nor when you press the on/off switch). Therefore, you won't usually want to be running on batteries when programming. For information on how to disconnect the Inspector, see "Disconnect the Inspector" on page 41.

FIGURE 2.17 : Result of executing code in the Inspector.
An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.
Last modified: 1 DEC 1996