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

Re: Null value into an integer variable


Le 19/04/2024 à 14:04, BB a écrit :
That's good but it doesn't address the original problem. Integers cannot be null, when sometimes it is true. You are addressing the display problem but not the actual value problem of "why cant I set an integer variable to null?"

As I said I have yet to find an answer to this.

b


Because 'Integer' is a native CPU datatype, and CPU has no null for its native datatypes (with the exception of floating point numbers that could be null, but can't because of the standard). Only datatypes that are pointers can be null.

Regards,

--
Benoît Minisini.


Follow-Ups:
Re: Null value into an integer variableBB <adamnt42@xxxxxxxxx>
References:
GRIDVIEW color and size"Mayost Sharon" <sharon@xxxxxxxxx>
Re: GRIDVIEW color and sizeT Lee Davidson <t.lee.davidson@xxxxxxxxx>
Re: GRIDVIEW color and sizeT Lee Davidson <t.lee.davidson@xxxxxxxxx>
Re: GRIDVIEW color and size"Mayost Sharon" <sharon@xxxxxxxxx>
Re: GRIDVIEW color and sizeT Lee Davidson <t.lee.davidson@xxxxxxxxx>
Null value into an integer variable"Mayost Sharon" <sharon@xxxxxxxxx>
Re: Null value into an integer variableGianluigi <gradobag@xxxxxxxxxxx>
Re: Null value into an integer variableBB <adamnt42@xxxxxxxxx>