Re: [fpc-pascal] basic question on begin, end;

2020-09-27 Thread James Richters via fpc-pascal
>This is how a program looks after automated indentation: >https://github.com/StanfordPascal/Pascal/blob/master/PASCAL1.pas Automating the formatting is a great idea, your formatted code is exactly the way I would do it. I especially like the comments for the Begins and Ends so you can see what

Re: [fpc-pascal] Cross platform question about lpi file content

2020-09-27 Thread Bo Berglund via fpc-pascal
On Sun, 27 Sep 2020 22:07:16 +0200, Bo Berglund via fpc-pascal wrote: >The only required packages for my application now are: >LCLBase and indylaz. And if I remove LCLBase it still compiles OK but >also still fails the link step. I finally got it to compile! What I did was to add Interfaces to

Re: [fpc-pascal] Cross platform question about lpi file content

2020-09-27 Thread Bo Berglund via fpc-pascal
On Sun, 27 Sep 2020 19:44:36 +0200, Sven Barth via fpc-pascal wrote: >> I am not using wsmenus... >> > >Yes, you are, even if it is indirectly. Otherwise the compiler or linker >wouldn't complain about it. > It would be very good if the linker could be told to show a message saying from where

Re: [fpc-pascal] Cross platform question about lpi file content

2020-09-27 Thread Sven Barth via fpc-pascal
Bo Berglund via fpc-pascal schrieb am So., 27. Sep. 2020, 18:12: > I am trying to find the cause of a linker error when building my > application on Linux. > While doing this I looked in the project file projname.lpi and found > this strange entry: > > > > > > > > Why is the path

[fpc-pascal] Cross platform question about lpi file content

2020-09-27 Thread Bo Berglund via fpc-pascal
I am trying to find the cause of a linker error when building my application on Linux. While doing this I looked in the project file projname.lpi and found this strange entry: Why is the path delimiter defined inside the project information file? And what are th consequences when

Re: [fpc-pascal] Buffer size for TCP DNS queries in netdb

2020-09-27 Thread Michael Van Canneyt via fpc-pascal
On Sun, 27 Sep 2020, Noel Duffy via fpc-pascal wrote: On 26/09/20 9:07 pm, Michael Van Canneyt via fpc-pascal wrote: On Sat, 26 Sep 2020, Noel Duffy via fpc-pascal wrote: To restate the question, is 64k too much overhead for DNS queries? That overhead would be present on all queries,

Re: [fpc-pascal] Buffer size for TCP DNS queries in netdb

2020-09-27 Thread Noel Duffy via fpc-pascal
On 26/09/20 9:07 pm, Michael Van Canneyt via fpc-pascal wrote: On Sat, 26 Sep 2020, Noel Duffy via fpc-pascal wrote: To restate the question, is 64k too much overhead for DNS queries? That overhead would be present on all queries, regardless of whether UDP or TCP was used. I would then