
The Inspector
Evaluating NewtonScript Code
The Inspector sends compiled NewtonScript code to the Newton, and after it's evaluated you receive the result. To evaluate code, you use the Enter key. When you press the Enter key, the selected code block (or the line where the insertion point rests) is compiled on the Macintosh and downloaded to the Newton. The code is executed there, and the return result is displayed in the Inspector window.
Caution:
As we said, in order to execute NewtonScript code from the Inspector, you use the "Enter" key, not the "Return" key. Pressing the "Return" key in the Inspector just gives you a new line. Veteran Inspector users joke that the "Enter" key is a shortcut for the three-character sequence "Return", "Delete", "Enter".
An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.
Last modified: 1 DEC 1996