| power-off | Index Level | print-err |
| Syntax | prime {number} |
| Category | TCL |
| Type | Verb |
| Description |
calculates the next higher and lower prime number from a given number.
If no number is provided with the command, the program requests it. |
| Options | |
| See Also | create-file |
| Example |
prime 13
13 is a prime number the next highest prime number is = 17 the next lowest prime number is = 11 prime 14 the next highest prime number is = 17 the next lowest prime number is = 13 prime<return> PRIME - computes the next greater prime number Enter a positive integer = 13<return> 13 is a prime number the next highest prime number is = 17 the next lowest prime number is = 11 |
| Warnings | |
| Compatibility | D3 7.0 AP R83 3.1 |
| power-off | Index Level | print-err |