Hello FPC Pascal users,
Is there a default ptop.cfg somewhere that follows the FPC coding standards?
https://wiki.freepascal.org/Coding_style
I'm not looking to submit any PR in the near future, I just want to
be able to automatically reformat my code to conform to what I consider
a reasonable
On Tue, 2020-08-18 at 11:08 +0200, Sven Barth via fpc-pascal wrote:
> ...
> There is no default configuration, because there is not one default
> standard. ...
Understood.
> Rule of thumb is that contributions should fit into the existing
> style.
In general when it comes to programming it is b
On Tue, 2020-08-18 at 14:11 +0200, Sven Barth wrote:
> Not that I know. Most formatters will barf on some of the syntax
> extensions that FPC provides (see the Jedi Code Formatter that barfs
> on generic syntax). Even ptop might fail on newer language
> extensions...
>
> So improving ptop might i
On Tue, 2020-08-18 at 23:17 +0200, Marco van de Voort via fpc-pascal
wrote:
> Op 2020-08-18 om 23:01 schreef Sven Barth via fpc-pascal:
> > Might be the even better solution as fcl-passrc will be better
> > maintained due to it being used for both the documentation utility
> > fpdoc as well as pa
On Wed, 2020-08-19 at 02:03 +0200, Michael Van Canneyt wrote:
>
> On Tue, 18 Aug 2020, Dwight Schauer via fpc-pascal wrote:
> As long as the code only gets alterned into something logically
> > equivalaent, and as long as I can retreive the contents of comments
> > f
On 12/28/22 06:01, Hairy Pixels via fpc-pascal wrote:
On Dec 28, 2022, at 4:45 PM, wkitty42--- via fpc-pascal
wrote:
like james, i also have like 40-45 years programming experience... 99% of my
stuff is still text mode tools and apps... GUI stuff has just never made sense
to me...
Just c
On 12/29/22 09:53, Adriaan van Os via fpc-pascal wrote:
Modern mathematics education tries to teach by showing graphs and
pictures, instead of formulas and proofs. But, by doing so, it misses
the most important point — that mathematics is about abstract
thinking. You will never get around the
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
Pascal is still limited with OpenAI ChatGPT unless you stick to very
core things in Pascal, and are patient to teach it about non-core things.
Limited compared Python and other languages. Asking it to do specific
things Python using standard modules give better results C++ with
something like
On 1/3/23 11:17, Anthony Walter via fpc-pascal wrote:
In summary, while OpenGPT is obviously imperfect, generally it feels
like a revolutionary leap forward of several magnitudes. It ought to
be plainly clear that the proverbial toothpaste is now out of the tube
and there is no going back. T
On 2/24/23 22:37, Hairy Pixels via fpc-pascal wrote:
I’m trying to build a project on Windows and I’m getting the error
mentioned in the subject. It appears to be from a nested function in a
generic class which is using the “result” keyword to assign the value.
Is this a bug or do I need to en
On 3/3/23 22:08, Hairy Pixels via fpc-pascal wrote:
This caused me a nasty debugging confusion, it’s a bug right? In the program
below the two parameters passed to TBinding.Create have the same address
despite being function pointers to two different class methods. Calling them
both call the s
On 3/3/23 22:08, Hairy Pixels via fpc-pascal wrote:
This caused me a nasty debugging confusion, it’s a bug right? In the program
below the two parameters passed to TBinding.Create have the same address
despite being function pointers to two different class methods. Calling them
both call the s
13 matches
Mail list logo