On Tuesday, 12 November 2019 at 07:59:39 UTC, Bastiaan Veelo wrote:
On Monday, 11 November 2019 at 20:05:11 UTC, Antonio Corbi wrote:
[...]

Thanks, Antonio. My problem is that the length of the array should be a built-in property of WrapIntegerArray (immutable in this case); what I'd actually want is a constructor without arguments. Jonathan's suggestion of using a factory function comes closest to that.

Bastiaan.

I'm curious to know what is the equivalent in Pascal that your transpiler fails to translate since Pascal records don't have constructors at all. Maybe you used an old school 'Object' ?

Reply via email to