[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Null value into an integer variable
[Thread Prev] | [Thread Next]
- Subject: Re: Null value into an integer variable
- From: Jussi Lahtinen <jussi.lahtinen@xxxxxxxxx>
- Date: Fri, 19 Apr 2024 15:57:41 +0300
- To: user@xxxxxxxxxxxxxxxxxxxxxx
> ... regarding the "data", which may be null. No matter if we are talking > about the displayed value or not there are still cases when an integer > variable remains "not set yet". I dont expect that Gambas integer > variables could have a Null value, just that there must be some way to > get around this. > Three possible solutions. 1. Instead of integer, use variant. 2. If possible use values beyond scope to indicate NULL. Example in age field you can use -1 when it is NULL. 3. Use two variables to hold the information. Integer and boolean to indicate if it is really set or not. Jussi
GRIDVIEW color and size | "Mayost Sharon" <sharon@xxxxxxxxx> |
Re: GRIDVIEW color and size | T Lee Davidson <t.lee.davidson@xxxxxxxxx> |
Re: GRIDVIEW color and size | T Lee Davidson <t.lee.davidson@xxxxxxxxx> |
Re: GRIDVIEW color and size | "Mayost Sharon" <sharon@xxxxxxxxx> |
Re: GRIDVIEW color and size | T Lee Davidson <t.lee.davidson@xxxxxxxxx> |
Null value into an integer variable | "Mayost Sharon" <sharon@xxxxxxxxx> |
Re: Null value into an integer variable | Gianluigi <gradobag@xxxxxxxxxxx> |
Re: Null value into an integer variable | BB <adamnt42@xxxxxxxxx> |
Re: Null value into an integer variable | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: Null value into an integer variable | BB <adamnt42@xxxxxxxxx> |