[fpc-pascal] Option type

Henry Vermaak henry.vermaak at gmail.com
Wed Jun 2 01:05:34 CEST 2021


On Tue, 1 Jun 2021, 23:39 Ryan Joseph via fpc-pascal, <
fpc-pascal at lists.freepascal.org> wrote:

>
>
> > On Jun 1, 2021, at 12:56 PM, denisgolovan <denisgolovan at yandex.ru>
> wrote:
> >
> > That would limit supported types to class instances.
> > I'll like to avoid that.
> > Ideally TOption type should allow any type (primitives, strings,
> objects, class instances, etc).
>
> What are you trying to make that requires a variant record? I don't know
> what "TOption" is.


https://en.wikipedia.org/wiki/Option_type

Henry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20210602/88188131/attachment.htm>


More information about the fpc-pascal mailing list