u0358

u0358


u0209 Index Level u1072
Syntax variable = ICONV( length, "u0358" )
Category BASIC
Type User Exit
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.
Options
See Also user exits, FlashBASIC
Example var=iconv(lg,"U0358")
carvalid=seq(extract(var,2))
if carvalid=14 then ...
if carvalid=15 then ...    
Warnings
Compatibility D3 7.0 AP
u0209 Index Level u1072