The lineread Editor command gets input from the user. In the sample macro, this input will be a number for the command repetition factor which cannot be more than 255 digits in size.
The lineread command creates a dialog box with an entry field and Save, Cancel, and Help push-buttons.
You leave the dialog box by pressing the Enter or Esc keys, or by clicking on the Save or Cancel push-buttons. The method used to leave this dialog box is stored to the lastkey parameter.
If you select the Enter key or Save push-button to leave this dialog box, the current value in the entry field is stored to the lastline parameter.
If you select the Esc key or Cancel push-button to leave this dialog box, the initial value of the entry field is stored to the lastline parameter. In this example, no initial value is specified.
