SAMELINE
The SAMELINE option specifies whether the system prompt occurs on the same line as the statement that prompts for input.
The following examples show the results of certain combinations of the PROMPT and SAMELINE options.
Example 1
Given the statement PUT
SKIP LIST('ENTER:');, output is as follows:
| prompt(y) sameline(y) ENTER: (cursor)
|
| prompt(y) sameline(n) ENTER:
(cursor) |
| prompt(n) sameline(y) ENTER: (cursor)
|
| prompt(n) sameline(n) ENTER:
(cursor) |
Example 2
Given the statement PUT
SKIP LIST('ENTER');, output is as follows:
| prompt(y) sameline(y) ENTER: (cursor)
|
| prompt(y) sameline(n) ENTER
: (cursor) |
| prompt(n) sameline(y) ENTER (cursor)
|
| prompt(n) sameline(n) ENTER
(cursor) |
