Re: [fpc-pascal] TStringList - Strange quotation mark handling

2017-08-17 Thread el es
quot;field 3" and StringList was created to deal with that (I think). You can bend QuotedText to do amazing things but the quote detector is set for the default "" here. > > > Cheers, Benito > > > el es ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Using Serial in a TCP/RS232 gateway, how to set buffer sizes?

2017-09-08 Thread el es
On 08/09/17 09:34, Bo Berglund wrote: > 6) Then I rebuilt my application, but I have no idea if this actually > caused any buffer change. I know too little about the inner workings > of the Lazarus/FPC system... > > So it might still use the tiny 2K buffer??? > > I would decouple the log

Re: [fpc-pascal] Freepascal Floating Point Issue

2017-08-24 Thread el es
On 24/08/17 13:26, Sven Barth via fpc-pascal wrote: [...] > > Note: FPC (and Delphi) has a single fixed point type which is > Currency. AFAIK it uses four digits after the comma and 28 in front > of it. > > Regards, Sven > There was a project I remember, that I was told, for some e.g. tax

Re: [fpc-pascal] H2pas tool vs others, C header translation

2017-08-30 Thread el es
On 28/08/17 03:12, Paulo Costa wrote: > On 27-Aug-17 23:47, Dmitry Boyarintsev wrote: >> Is 2 neither true, nor false? 3? 4? >> >> If false is zero, >> Then true is not false. >> >> Also C doesn't have a boolean type per se. Iirc it was introduced in some >> version of c++ standard. >> >> In C

Re: [fpc-pascal] FPC attributes / annotations support

2017-12-01 Thread el es
On 01/12/17 13:24, Marcos Douglas B. Santos wrote: > On Thu, Nov 30, 2017 at 5:35 PM, Graeme Geldenhuys > wrote: > [...] >>> If we have a better marketing, maybe more programmers could have more >>> interest to use the language. >> Given ESR's recent (or not so

Re: [fpc-pascal] FPC Debug line numbers

2017-11-07 Thread el es
On 06/11/17 21:49, James Richters wrote: > I've noticed that line numbers are sometimes off, sometimes quite a > bit when I receive a run-time error. I had one today, it specified > the correct function that was responsible for generating the error, > however the line number was way off, it

Re: [fpc-pascal] First pas2js public release

2017-12-21 Thread el es
On 21/12/17 11:53, Ryan Joseph wrote: > > >> On Dec 20, 2017, at 9:14 PM, Ingemar Ragnemalm wrote: >> >> Absolutely, and I don't mind sharing the code. It is in the same folder! >> Very small and simple program, and all FPC. :) > > Can you post the code? I haven’t

Re: [fpc-pascal] TThread.FreeOnTerminate

2018-12-14 Thread el es
On 14/12/2018 10:08, Michael Van Canneyt wrote: > And now we have come to the root of the problem: > > Threads are unpredictable, and hence evil in programming :-) > Aye, but the evil is necessary, for example if one has to a program that needs to do GUI AND handle background

Re: [fpc-pascal] TThread.FreeOnTerminate

2018-12-14 Thread el es
t really be public, if it's only to be used in 'private' context of the constructor? (or as Martin says, it should be documented as such?) > > You can try to do so later on, but then you're on your own. > > Michael. el es ___ fpc-pascal mail