|Command||ue.0358 User Exit/BASIC Program
Applicable release versions: AP
|Category||BASIC Program (486)|
|Description||allows character input combined with an 'End Of Input' (EOI) character.
"length" is the maximum length of the input, not including the 'End Of Input' delimiter. "length" cannot be over 500. The 'EOI' character may be: x'0A', x'0E',x'17', x'0C', x'0D', x'1A', x'0B'
Editing Functions: The "left-arrow" key moves the cursor one position to the left while erasing the right side of the input field.
When the cursor reaches the left side of the input field, it remains on that first position.
When the cursor reaches the right side of input field, it remains on the last position and a 'bell' is sent. The user may then change the last character or move to the left.
Control characters other than the EOI are ignored.
Depending on the EOI character, 'variable' may be tested to take different branches. The EOI character is stored as a second attribute of the variable.
var=iconv(lg,"U0358") carvalid=seq(extract(var,2)) if carvalid=14 then ... if carvalid=15 then ...