Reproduced from the AphaBASIC User's Manual, Revision 05 of April 1999
The format is:
INPUT LINE {"prompt-string",}variable
Although you may specify a numeric variable, the real purpose of INPUT LINE is to allow you to enter string data from your terminal that includes commas, quotation marks, blanks, and other special characters.
This is some text that I want to insert as a snippet in the project. It can be of any length. Here is some formatting and here is a link.
You will usually want to use INPUT (see the section above) for inputting numeric data or multiple items of string data.
INPUT LINE loads into the specified string variable an entire line of data, up to but not including the first LINE FEED character it encounters. It will remove a Carriage Return character if one immediately precedes the LINE FEED character, but not if it is embedded in the line. Therefore, do not specify more than one string variable in an INPUT LINE statement.
AlphaBASIC never prints a question mark prompt for INPUT LINE as it does for INPUT, but you may include your own prompt string, which AlphaBASIC will display as a request for data. Such a prompt string must be a string literal enclosed in quotation marks.
Unlike INPUT, if you press RETURN in response to a data request, INPUT LINE sets the variable to zero (if numeric variable) or null (if string variable). Remember, in a like case, INPUT leaves the value of the variable unchanged.
When you use INPUT LINE, remember the default size of unmapped string variables is ten characters; if you want to use strings larger than that, use the STRSIZ statement to reset the default string size or use a MAP statement for the string variable, specifying the size you need. See below for information on STRSIZ.
Some examples of INPUT LINE:
INPUT LINE A$
INPUT LINE "ENTER YOUR FULL NAME, PLEASE: ",NAME$
You may also use the INPUT LINE statement to read data from a sequential file. For more information on using INPUT LINE and files, see Chapter 16.