O$: $makelist not working

Nick Harris nick.harris at exact.be
Tue May 20 10:48:33 EDT 2008

Indeed, sounds like these classes are not set to external.  Just to
clarify $ignoreexternal does not work with locked classes.
Depending on what you are creating, there are three strategies...
1. For creating development tools set the $ignoreexternal
2. For creating utilities for the end user, you can set the $external
property of every class (I personally do not like this as it breeds
untidy and unmanageable code.  (You have no idea from which library a
certain class may be called)
3. Open the library as a datafile and read the table #APPLICATIONS
filtering out all non windows classes.  If I needed an enduser to be
able to build a list of windows, this would be the method I would use.  

-----Original Message-----
From: omnisdev-en-bounces at lists.omnis-dev.com
[mailto:omnisdev-en-bounces at lists.omnis-dev.com] On Behalf Of Andreas
Sent: 20 May 2008 16:34
To: OmnisDev List - English
Subject: Re: O$: $makelist not working

Hi Caroline,

Check if the specific classes are set to external. Alternatively you  
might want to set the $ignorexternal property. But this might not want  
during the runtime.

Hope this helps.

Kindest regards,


Am 20.05.2008 um 16:31 schrieb Dr Caroline Wilkins:

> This is driving me batty! Can anyone see why this isn't working  
> properly please?
> Do $root.$libs.[iApp].$windows.$makelist($ref.$name) Returns  
> iWindowList   -   In a library of over 500 windows, that line of  
> code is returning a list of 7 windows.
> Do $root.$libs.[iApp].$classes.$makelist($ref.$name) Returns  
> iClassList   -   is returning a pitiful number
> Do $root.$libs.[iApp].$menus.$makelist($ref.$name) Returns  
> iMenuList   -   This is finding 2 menu classes in a library  
> containing 200 or more.
> Is it possible that classes that came over from a Classic conversion  
> aren't being picked up by $makelist()?
> How does the Omnis IDE pick up it's list of classes etc within a  
> library?
> Any thoughts much appreciated :)
> Best Regards
> Caroline
> iB2B Ltd
> http://www.artificia.co.uk
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com

Manage your list subscriptions at http://lists.omnis-dev.com

More information about the omnisdev-en mailing list