[Gambas-user] New feature in the Array classes

Benoît Minisini g4mba5 at gmail.com
Wed Feb 10 18:05:05 CET 2021


Le 10/02/2021 à 17:59, T Lee Davidson a écrit :
> On 2/9/21 5:38 PM, Benoît Minisini wrote:
>> I have replaced Array.Sorted property by explicit methods 
>> FindSorted(), ExistSorted(), FindByRefSorted() and ExistByRefSorted().
>>
>> Normally, with that, everything is backward-compatible.
> 
> Wouldn't adding an optional parameter serve the purpose *and* eliminate 
> the need for more methods? Or, would that add too much complexity?
> 

For backward-compatibility, I think it's better to leave the current 
method untouched.

Regards,

-- 
Benoît Minisini


More information about the User mailing list