[Gambas-devel] Finding Variant
Benoît Minisini
gambas at ...1...
Tue Aug 28 17:04:03 CEST 2012
Le 28/08/2012 16:55, Tobias Boege a écrit :
> Beno�t,
>
> is there an easy way to compare Variants? The Variant[] has no Find() and
> the rest of the compare functions are specific to their datatypes which
> could all live in one Variant. This is needed for the List.Find*()
> functions so either "equal" or "not equal" will be enough for a result. (May
> even memcmp() suffice for that?)
>
> Regards,
> Tobi
>
No, the Variant comparison has only be implemented in operators. I will
do that, and then I will add an API to compare two values.
And no, memcmp() is not enough!
--
Benoît Minisini
More information about the Devel
mailing list