[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][gambas/gambas][master] Fix the declaration of the object array template. Add 'Sorted' property to...



Benoît Minisini pushed to branch master at Gambas / gambas


Commits:
e62cdeda by Benoît Minisini at 2026-02-13T23:45:28+01:00
Fix the declaration of the object array template. Add 'Sorted' property to arrays, and 'Mode' property to string arrays.

[INTERPRETER]
* BUG: Fix the declaration of the object array template.
* NEW: 'Array.Sorted' is a new property that tells Gambas that the array contents is sorted, modyfing the behaviour of 'Find(), Exist()...' methods to use their "sorted" version.
* NEW: 'String[].Mode' is a new property that tells which comparison mode is used by default by the string array.
* NEW: The 'RemoveFirstSorted()' methods were removed. Use the 'Array.Sorted' property instead.
* NEW: Declare specific constants for all possible string comparison methods, so that adding constants is not necessary anymore.

- - - - -


6 changed files:

- main/gbx/gbx_c_array.c
- main/gbx/gbx_c_array.h
- main/gbx/gbx_compare.c
- main/gbx/gbx_compare.h
- main/share/gambas.h
- main/share/gb_constant_temp.h


View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/e62cdeda69c2e038bcf6aa23e04d7f29e8f6e7d0

-- 
View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/e62cdeda69c2e038bcf6aa23e04d7f29e8f6e7d0
You're receiving this email because of your account on gitlab.com.