Re: [fpc-pascal] docs

2024-10-22 Thread Rafael Picanço via fpc-pascal
Also, I think that Michalis Kamburelis' introduction is a must-read for newcomers nowadays: https://castle-engine.io/modern_pascal Best regards, Rafael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mail

Re: [fpc-pascal] docs

2024-10-21 Thread ppadilcdx--- via fpc-pascal
Thanks! > On Oct 21, 2024, at 1:35 AM, Michael Van Canneyt via fpc-pascal > wrote: > > > > On Sun, 20 Oct 2024, ppadilcdx--- via fpc-pascal wrote: > >> Apropos the new users discussion, i think the state of the docs is really >> important, new users can be discouraged by lack of documentati

Re: [fpc-pascal] docs

2024-10-21 Thread Peter B via fpc-pascal
On 21/10/2024 05:18, Gordon Findlay via fpc-pascal wrote: - distros sometimes have quite old versions in their repos. For example my opensuse machine right now is offering Lazarus 2.2. openSUSE (Tumbleweed) is on 3.6, as are most/all of the other rolling distributions https://repology.org/pro

Re: [fpc-pascal] docs

2024-10-21 Thread geneb via fpc-pascal
On 10/21/2024 1:35 AM, Christo Crause via fpc-pascal wrote: The official FPC documentation can be accessed from here: https://www.freepascal.org/docs.html These are obviously reference documentation, not getting started or how-to tutorials. The documentation is hosted here: https://gitlab.com/

Re: [fpc-pascal] docs

2024-10-21 Thread Nikolay Nikolov via fpc-pascal
On 10/21/24 7:18 AM, Gordon Findlay via fpc-pascal wrote:  - distros sometimes have quite old versions in their repos. For example my opensuse machine right now is offering Lazarus 2.2. For this, we need help from FPC and Lazarus users, who actually use the given distro. Someone needs to volu

Re: [fpc-pascal] docs

2024-10-21 Thread Christo Crause via fpc-pascal
The official FPC documentation can be accessed from here: https://www.freepascal.org/docs.html These are obviously reference documentation, not getting started or how-to tutorials. The documentation is hosted here: https://gitlab.com/freepascal.org/fpc/documentation Issues reporting mistakes/omissi

Re: [fpc-pascal] docs

2024-10-21 Thread Michael Van Canneyt via fpc-pascal
On Sun, 20 Oct 2024, ppadilcdx--- via fpc-pascal wrote: Apropos the new users discussion, i think the state of the docs is really important, new users can be discouraged by lack of documentation or up-to-date docs. I just recently retired so not a new young user, but relatily new to fpc. So

Re: [fpc-pascal] docs

2024-10-21 Thread Gordon Findlay via fpc-pascal
I've been programming a long time but when I first took up with Lazarus and FPC there were three issues: - out of date documentation. - for many topics (for example in the LCL) there is formal documentation but not tutorial material. - distros sometimes have quite old versions in their repos. F

Re: [fpc-pascal] Docs: portability differences between Borland/FPC

2018-08-19 Thread Martok
Am 19.08.2018 um 14:55 schrieb Florian Klämpfl: > Please note again: in general, there are no defined rules for FPC as soon as > range check errors would occur. For FPC, > you are just documenting random *behavior* which might change even with the > next minor release. I know. And I have given

Re: [fpc-pascal] Docs: portability differences between Borland/FPC

2018-08-19 Thread Marco van de Voort
In our previous episode, Martok said: > Am 18.08.2018 um 23:25 schrieb Marco van de Voort: > > Summary: behaviour with range checks off is implementation defined? > No. "implementation different", but not really "implementation defined". > TP and Delphi are fully defined without range checks. In

Re: [fpc-pascal] Docs: portability differences between Borland/FPC

2018-08-19 Thread Florian Klämpfl
Am 19.08.2018 um 15:08 schrieb Martok: But I don't actually want to debate that here, just collect information for users. Well, you have to as you give people the wrong impression that they can control what happens if they suppress/ignore run time errors. _

Re: [fpc-pascal] Docs: portability differences between Borland/FPC

2018-08-19 Thread Martok
Am 18.08.2018 um 23:25 schrieb Marco van de Voort: > Summary: behaviour with range checks off is implementation defined? No. "implementation different", but not really "implementation defined". TP and Delphi are fully defined without range checks. In fact, TP is defined as *having no runtime range

Re: [fpc-pascal] Docs: portability differences between Borland/FPC

2018-08-19 Thread Florian Klämpfl
Am 19.08.2018 um 14:44 schrieb Martok: as soon as [something changes], Delphi shows exactly the same behavior as FPC. But that's kind of the point of this collection: sometimes the rules intersect, but for most cases, they don't. Please note again: in general, there are no defined rules for F

Re: [fpc-pascal] Docs: portability differences between Borland/FPC

2018-08-19 Thread Martok
Am 19.08.2018 um 10:08 schrieb Florian Klämpfl: > Not really, you have also to fix the comments below because as soon as the > range is 0..127 and the test is against 127, > Delphi shows exactly the same behavior as FPC. Not really. You don't have to change the range, there is a warning emitted f

Re: [fpc-pascal] Docs: portability differences between Borland/FPC

2018-08-19 Thread Florian Klämpfl
Am 19.08.2018 um 01:49 schrieb Martok: Am 18.08.2018 um 23:39 schrieb Florian Klämpfl: This is plainly wrong, at least for the older delphis, the host type in delphi will be Byte (or even Shortint). It is actually shortint ... Correct, I was thinking of the default PackEnum. Which of course

Re: [fpc-pascal] Docs: portability differences between Borland/FPC

2018-08-18 Thread Martok
Am 18.08.2018 um 23:39 schrieb Florian Klämpfl: >> This is plainly wrong, at least for the older delphis, the host type in >> delphi will be Byte (or even Shortint). > > It is actually shortint ... Correct, I was thinking of the default PackEnum. Which of course has absolutely nothing to do with

Re: [fpc-pascal] Docs: portability differences between Borland/FPC

2018-08-18 Thread Bart
On Sat, Aug 18, 2018 at 11:52 PM, Bart wrote: > TurboPascal 6.0 will not do that. It will execute the else statment if Just ignore my above post. Made a typo in the if condition Bart ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Docs: portability differences between Borland/FPC

2018-08-18 Thread Bart
On Sat, Aug 18, 2018 at 10:59 PM, Martok wrote: > There is the old "Porting TP" document at > , but it is rather incomplete (and > probably on an > older language level). It also covers mostly syntactic differences - things a > programmer will notice becaus

Re: [fpc-pascal] Docs: portability differences between Borland/FPC

2018-08-18 Thread Florian Klämpfl
Am 18.08.2018 um 23:26 schrieb Florian Klämpfl: Am 18.08.2018 um 22:59 schrieb Martok: Hi all, There is the old "Porting TP" document at , but it is rather incomplete (and probably on an older language level). It also covers mostly syntactic differences - t

Re: [fpc-pascal] Docs: portability differences between Borland/FPC

2018-08-18 Thread Florian Klämpfl
Am 18.08.2018 um 22:59 schrieb Martok: Hi all, There is the old "Porting TP" document at , but it is rather incomplete (and probably on an older language level). It also covers mostly syntactic differences - things a programmer will notice because of the er

Re: [fpc-pascal] Docs: portability differences between Borland/FPC

2018-08-18 Thread Marco van de Voort
In our previous episode, Martok said: > There is the old "Porting TP" document at > , but it is rather incomplete (and > probably on an older language level). It also covers mostly syntactic > differences - things a programmer will notice because of the error >

Re: [fpc-pascal] docs for TStringList.CaseSensitive seem incomplete

2016-11-17 Thread Graeme Geldenhuys
On 2016-11-17 16:05, Michael Van Canneyt wrote: > Can you please enter this in the bugtracker ? Reported. http://mantis.freepascal.org/view.php?id=30944 Regards, Graeme ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.free

Re: [fpc-pascal] docs for TStringList.CaseSensitive seem incomplete

2016-11-17 Thread Michael Van Canneyt
On Wed, 16 Nov 2016, Graeme Geldenhuys wrote: I did some testing and it seems the CaseSensitive property also has an affect on the Sort() method. Yet the documentation only lists that the property affects locating of strings. Can you please enter this in the bugtracker ? Otherwise I will forg

Re: [fpc-pascal] Docs: Type A = Integer?

2016-11-14 Thread Ewald
On 14/11/16 07:38, Michael Van Canneyt wrote: > > > On Sun, 13 Nov 2016, leledumbo wrote: > >>> Maybe this helps: >>> http://www.freepascal.org/docs-html/current/ref/refse19.html >> >> I think the OP means that type block is shouldn't be there. The page is >> talking about include directive and

Re: [fpc-pascal] Docs: Type A = Integer?

2016-11-14 Thread Ewald
On 13/11/16 23:33, Mattias Gaertner wrote: > Maybe this helps: > http://www.freepascal.org/docs-html/current/ref/refse19.html Close, yet presence of that particular line in the section on the include directive is, at least for me, not yet unraveled ;-) -- Ewald __

Re: [fpc-pascal] Docs: Type A = Integer?

2016-11-13 Thread Michael Van Canneyt
On Sun, 13 Nov 2016, leledumbo wrote: Maybe this helps: http://www.freepascal.org/docs-html/current/ref/refse19.html I think the OP means that type block is shouldn't be there. The page is talking about include directive and that type definition is not related in anyway with paragraphs below

Re: [fpc-pascal] Docs: Type A = Integer?

2016-11-13 Thread leledumbo
> Maybe this helps: > http://www.freepascal.org/docs-html/current/ref/refse19.html I think the OP means that type block is shouldn't be there. The page is talking about include directive and that type definition is not related in anyway with paragraphs below or above it. -- View this message in

Re: [fpc-pascal] Docs: Type A = Integer?

2016-11-13 Thread Mattias Gaertner
On Sun, 13 Nov 2016 21:21:16 +0100 Ewald wrote: > Hello, > > Section 1.2.40 of Programmers guide > (http://www.freepascal.org/docs-html/prog/progsu40.html#x47-460001.2.40) > says, somewhere in the middle: > > Type > A = Integer; > > Is it supposed to be there? If so, what is it supposed

Re: [fpc-pascal] docs on freepascal.org vs lazarus-ccr.sourceforge.net

2013-10-20 Thread Michal Wallace
On Sun, Oct 20, 2013 at 4:47 AM, Michael Van Canneyt wrote: > That the lazarus project generates their docs from the current trunk > version is unfortunate, especially since they actually use a released > version of the FPC compiler. > > FPC does not have the manpower to support multiple release

Re: [fpc-pascal] docs on freepascal.org vs lazarus-ccr.sourceforge.net

2013-10-20 Thread Michael Van Canneyt
On Sun, 20 Oct 2013, Michal Wallace wrote: So... The top google result for "free pascal TComponent" is:    http://www.freepascal.org/docs-html/rtl/classes/tcomponent.html This is 8 months old. The updated page doesn't show up in the results at all:     http://lazarus-ccr.sourceforge.net/do

Re: [fpc-pascal] docs on freepascal.org vs lazarus-ccr.sourceforge.net

2013-10-20 Thread Sven Barth
Am 20.10.2013 09:47 schrieb "Michal Wallace" : > > So... > > The top google result for "free pascal TComponent" is: > >http://www.freepascal.org/docs-html/rtl/classes/tcomponent.html > > This is 8 months old. The updated page doesn't show up in the results at all: > > http://lazarus-ccr.sou