On Nov 29, 2025 at 6:43:44 PM, Guillermo Martínez Jiménez via fpc-pascal <
[email protected]> wrote:

> I have no idea about what are you doing but I'm pretty sure you can fix
> this by using a different design;  maybe to revise some patterns will
> help you to find the way to do it more properly.
>

He has a fair point. Imagine you have two classes and they want to write to
their fields but this only happens internally in your library while the
users of the library should never do this. How do you solve it? You
basically want a write property but just internally in your library.
_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to