Studio 10/11: Referring to list.$remove(0), list.0.$selected

Mike Matthews - Omnis omnis at
Wed Feb 7 15:23:17 UTC 2024

Ah, oh, hmmmmm..

We use ‘iList.0.$selected’ about 2,243 times in our libs.  This is used to detect if the current line is selected.
From StudioTips
'# Is the current line selected?
      Calculate bSelected as List.0.$selected'

We use ‘iList.$remove()’ about 608 time as well.
From Omnis Help Manual
'$remove(rLine|iLineNumber|kListDeleteSelected|kListKeepSelected) deletes the specified lines from the list'

We have used these command since many moons have passed, so why now I wonder, and what should we use instead, as Rudolf asks?

And who said this to you Graeme, in what context as well?

Mike Matthews

Lineal Software Solutions
Commercial House, The Strand<x-apple-data-detectors://1/1> Barnstaple, Devon, EX31 1EU<x-apple-data-detectors://1/1>

omnis at<mailto:mike.matthews at><><>

On 7 Feb 2024, at 12:03, Graeme Whiting <graeme.whiting at<mailto:graeme.whiting at>> wrote:

Caution: This is a message which has originated from outside the organisation. Ensure the sender is trusted and the content is safe before opening links or attachments.

Hi all,

I’ve been told that using list.$remove(0) or ivlist.0.$selected is not documented functionality in Omnis Studio and therefore shouldn’t be used(!)

This came about when I found that this syntax doesn’t work in client methods, and Omnis said they won’t fix it as it should never have worked in that way on desktop 😊

Just a heads-up really if anyone else has been using it.


Graeme Whiting
Founder & Managing Director
01366 386611<tel:01366%20386611>

Manage your list subscriptions at,1,EavLC_sKj6E-ovJPoWADpef2y-gXxGzT0b9UwGTqlEkZRPtmuNX6pPyrVb_1xuoozAw7nfIjLnit2DuWfMJjk75cGjjU6XaSkpAXRRxTj56ONyE,&typo=1
Start a new message -> mailto:omnisdev-en at

More information about the omnisdev-en mailing list