IBN
Prompts for input from the terminal and places the input data in the secondary input buffer as a single parameter, retaining embedded blanks in the input string. The secondary input buffer is selected as the active input buffer.
Syntax
IBN{char}
Syntax Elements
char An optional prompt character. If included, it remains in effect until reset with an IBN, IBP, IN, IP or PROMPT command.
If char is not included, it defaults to the last prompt character specified, or to a colon (:) if the Proc was invoked from TCL.
Operation
The IBN command functions the same as the IN command except that the input string is placed in the buffer as a single parameter and all blanks remain intact.
The current contents of the secondary input buffer are destroyed, and the buffer pointer is set to the beginning, prior to placing the input data in the buffer. The secondary input buffer is selected as the active input buffer. It remains active until an RI, S(n) or MV %n source command is executed.
Pressing RETURN only in response to an input prompt creates a null parameter.
Example 1
Input |
SIB Before |
SIB After |
---|---|---|
|
|
|
Example 2
Input |
SIB Before |
SIB After |
---|---|---|
|
|
|
Example 3
Input |
SIB Before |
SIB After |
---|---|---|
|
|
|
Example 4
Input |
SIB Before |
SIB After |
---|---|---|
RETURN |
|
|