The PROMPT/INPUT is a modification of the original BASIC INPUT which will not ask for the input if the user types it into the command line when calling the macro. In this case, typing SINCURVE will result in the prompt appearing and the program waiting for input, whereas typing SINCURVE 30 will skip the prompt and OFFSET will automatically be assigned 30. This allows a single macro to be used both interactively and within a program as a function.
The PROMPT/INPUT is a modification of the original BASIC INPUT which will not ask for the input if the user types it into the command line when calling the macro In this case, typing SINCURVE will result in the prompt appearing and the program waiting for input, whereas typing SINCURVE 30 will skip the prompt and OFFSET will automatically be assigned 30. This allows a single macro to be used both interactively and within a program as a function.