Execute TINPUT to calculate the surface area of a torus of inner radius a = 10 and outer radius b = 20.
J%TINPU%
Key in the value for a, press ˜to move the cursor to the next prompt, then key in the value for b.
10˜20
Continue program execution.
`
Example: The following program executes INPUT to prompt for a social security number, then extracts two
strings: the first three digits and last four digits. The level 1 argument for INPUT specifies:
A
The replace cursor positioned at the start of the prompt string (
By default, no verification of object syntax — the dashes make the content invalid as objects
Level 1 | → | Level 2 | Level 1 |
|
|
|
|
| → | “last four digits“ | “first three digits“ |
|
|
|
|