With the notation that you are using, "&V[_liststring]"
is replaced with its value as soon as the screen is displayed. But you need the
value after the user has put the cursor on the list line and hit the button.
To achieve this, do not pass a parameter to the
InputScript. Instead, use a command
Set V[current_line] "&V[_listline]"
at the beginning of the InputScript, before the first
"Screen" command. The same applies for the variables V[_listline]
and V[ _listcursorrow].
|