For example, see the "Coordinate Transformations" program in chapter 15. Routine D collects all the necessary input for the variables M, N, and T (lines D0002 through D0004) that define the x and y coordinates and angle θ of a new system.

To respond to a prompt:

When you run the program, it will stop at each INPUT and prompt you for that variable, such as @). The value displayed (and the contents of the X–register) will be the current contents of R.

„To leave the number unchanged, just press g.

„To change the number, type the new number and press g. This new number writes over the old value in the X–register. You can enter a number as a fraction if you want. If you need to calculate a number, use normal keyboard calculations, then press g. For example, you can press 2

‘5 g.

„To calculate with the displayed number, press ‘before typing another number.

„To cancel the INPUT prompt, press ‡. The current value for the variable remains in the X–register. If you press gto resume the program, the canceled INPUT prompt is repeated. If you press ‡during digit entry, it clears the number to zero. Press ‡again to cancel the INPUT prompt.

Using VIEW for Displaying Data

The programmed VIEW instruction ( Š variable ) stops a running program and displays and identifies the contents of the given variable, such as

/

) 

This is a display only, and does not copy the number to the X–register. If Fraction–display mode is active, the value is displayed as a fraction.

„Pressing ‘copies this number to the X–register.

„If the number is wider than 14 characters, pressing displays the entire number. (If it is a binary number with more than 12 digits, use the ˜and —keys to see the rest.)

„Pressing ‡(or b) erases the VIEW display and shows the X–register.
Simple Programming 12–13