[Gambas-devel] About gb.gsl components
Benoît Minisini
gambas at ...1...
Sun Jul 8 18:15:15 CEST 2012
Le 08/07/2012 18:01, Emil Lenngren a écrit :
> Hi. Some null checks seems to be required. For example:
>
> Dim A As Complex = NULL
> Print Abs(A)
>
> -> Segmentation fault
>
> Another question: If I have a class I want to implement _operators in,
> do I have to implement all 13 or can I set some of them to NULL?
>
> /Emil
>
I think some operators will not be mandatory, like min + max +
inequality operators. Or maybe I won't allow inequality operators and
min + max. I don't know yet.
At the moment, except inequality things, all must be implemented.
--
Benoît Minisini
More information about the Devel
mailing list