MemberKeyDictionary member keys

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

MemberKeyDictionary member keys

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:54 pm

by Danny Sheehan >> Wed, 5 Oct 2005 22:46:23 GMT

Hi

I am wondering if there is any way to programmatically get what the member keys are on a MemberKeyDictionary?

Thanks

Danny Sheehan

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: MemberKeyDictionary member keys

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:54 pm

by Torrie >> Sun, 9 Oct 2005 20:19:24 GMT

Yes there is. The collection class is an instance of the CollClass in Jade and this has a method called getKeys. You can get the keys like this

vars
oKey : Key;
oAllKeys : KeyColl;
begin
oAllKeys := <Dictionary Class>.getKeys;

foreach oKey in oAllKeys do
// Do stuff with the keys here.
endforeach;

Torrie


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 23 guests

cron