2016-07-28 17:49 GMT+02:00 Maciej Izak <hnb.c...@gmail.com>:

> === code begin ===
>
> var
>   n: TNilable<TRec>;
> begin
>   {
>
>    ... let say that n is assigned somewhere, assume that n.HasValue = true
>
>   }
>   x.foo1 := 10;
>   x.foo2 := 'abc';
> end.
>
> === code end ===
>

small typo. n instead of x ;)


-- 
Best regards,
Maciej Izak
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to