[fpc-pascal] Open array in object constructor gives error

2022-12-30 Thread 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.Create(text: array of String); begin end; begin TMyObject.Create([

[fpc-pascal] Generic threadlist

2022-12-30 Thread Andrew Haines via fpc-pascal
Hi, I made a generic threadlist for the unit fgl. I'm wondering what is the opinion on stuff like that. Specifically it's T: TObject and not for "pointers." I had made both TFPGThreadList and TFPGObjectThreadList and I thought afterwards only TFPGThreadList is needed and it should hold TObjects

Re: [fpc-pascal] Working on a new way to educate people about pascal

2022-12-30 Thread geneb via fpc-pascal
On Thu, 29 Dec 2022, Anthony Youngman via fpc-pascal wrote: On 29/12/2022 12:31, Anthony Walter via fpc-pascal wrote: @youngman "I'm a database guy with maybe 30 years experience, I'm new to SQL and oh my god is it an over-complicated monster ..." Wait, what? Something doesn't make sense wi

Re: [fpc-pascal] Working on a new way to educate people about pascal

2022-12-30 Thread James Richters via fpc-pascal
I don’t know how my previous message got so out of sequence. I am not intending to continue this discussion, it was a message I sent early Thursday morning that was somehow delayed and is out of sequence. ___ fpc-pascal maillist - fpc-pascal@lists.fr

Re: [fpc-pascal] Working on a new way to educate people about pascal

2022-12-30 Thread Anthony Youngman via fpc-pascal
On 29/12/2022 12:31, Anthony Walter via fpc-pascal wrote: @youngman "I'm a database guy with maybe 30 years experience, I'm new to SQL and oh my god is it an over-complicated monster ..." Wait, what? Something doesn't make sense with what you said. You have 30 years of experience writing dat

Re: [fpc-pascal] Working on a new way to educate people about pascal

2022-12-30 Thread James Richters via fpc-pascal
>Assuming people in that sentence, you are referring to people who use write >programs or scripts which make use of databases, if you know very little about >the subject of databases on that subject, how can you justify this assertion? The ‘People’ I was referring to are any people who work wit