2016-02-27 0:49 GMT-03:00 Dmitry Boyarintsev <[email protected]>:
> On Fri, Feb 26, 2016 at 10:38 PM, Mazola Winstrol <[email protected]> > wrote: > >> In the code bellow, the generic type TNullableTyple is implemented (and >> incomplete for now). >> > How to reset TNullableType to Null value? HasValue seems to be read-only. > In the last version, there is two ways: var NullInt: TNullable<Integer>; begin NullInt.Clear; // Method 1 NullInt := nil; // Method 2 end;
_______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
