I've been played with OpenAI ChatGPT some.
I had it write a few Pascal programs and refactor them into multiple
units per my specifications.
I did the same with other programming languages, then asked It to
rewrite what I'd done with those in Pascal or one of the others.
Including doing th
Am 31.12.2022 um 04:35 schrieb Hairy Pixels via fpc-pascal:
Why is using the open array parameter illegal using the Object type?
{$mode objfpc}
program test;
type
TMyObject = object
constructor Create(text: array of String);
end;
constructor TMyObject.Crea
> On Jan 3, 2023, at 1:36 PM, Sven Barth wrote:
>
> Objects are not classes, they don't know the Object Pascal style syntax for
> creating them, instead you need to use the syntax for objects from TP times:
But why do you need to use New if you just want a stack allocated object? The
constr