[Gambas-user] Collection(gb.IgnoreCase)

Mayost Sharon sharon at 455.co.il
Fri May 5 04:29:13 CEST 2023


---------- Original Message -----------
From: Jussi Lahtinen <jussi.lahtinen at gmail.com>
To: Gambas Mailing List <user at lists.gambas-basic.org>
Sent: Thu, 4 May 2023 01:36:37 +0300
Subject: Re: [Gambas-user] Collection(gb.IgnoreCase)

> >
> >   MyCollection = New Collection(gb.IgnoreCase)
> >
> 
> This defines the collection as case insensitive.
> 
>   MyCollection = ["k1": "v1"]
> >
> 
> This assigns the collection to be inline collection, which is by default
> case sensitive.
> 
>  So, instead of using inline collection, use the add method to populate it.
> 
> Jussi
------- End of Original Message -------

Thank you
According to what you said with ADD it works

Many thanks


More information about the User mailing list