| Command group | Flag affected | Reversible | Execute on client | Platform(s) |
| List lines | YES | NO | NO | All |
This command tests the specified line of the current list and sets the flag if it is selected. You can specify a particular line in the list by entering either a number or a calculation. If the number is not specified, the test is performed on the current line of the list, that is, the line number held in LIST.$line.
# If line 2 is selected show a message dialog
Set current listlMyList
Define listlName,lBalance
Add line to list('Fred',100)
Add line to list('George',0)
Add line to list('Harry',50)
Select list line(s)2
Test if list line selected2
If flag trueOK message{List line 2 is selected}
End If
# Alternatively, you can check the $selected property
IflMyList.2.$selectedOK message{List line 2 is selected}
End If