Re: [fpc-pascal] Compatibility problems with fpc > 3.3.1 rev 42375

2019-09-06 Thread fredvs
Hello everybody (included Sven). It seems that the problems come from /mseide-msegui/lib/common/fpccompatibility/mclasses.pas. In procedure TReader.ReadPropValue(Instance: TPersistent; PropInfo: Pointer), IMHO there is something not compatible with rev 42375. It would be wonderful if somebody co

Re: [fpc-pascal] Very vague gettickcount64 description?

2019-09-06 Thread Michael Van Canneyt
On Fri, 6 Sep 2019, Yuriy Sydorov wrote: On 06.09.2019 17:06, Tomas Hajny wrote: The documentation is vague on purpose - due to the variety of platforms supported by FPC and the low-level nature of GetTickCount, we do not want to guarantee specific units (GetTickCount is supposed to be supp

Re: [fpc-pascal] Very vague gettickcount64 description?

2019-09-06 Thread Yuriy Sydorov
On 06.09.2019 17:06, Tomas Hajny wrote: The documentation is vague on purpose - due to the variety of platforms supported by FPC and the low-level nature of GetTickCount, we do not want to guarantee specific units (GetTickCount is supposed to be supported directly by the platform rather than hav

Re: [fpc-pascal] Very vague gettickcount64 description?

2019-09-06 Thread Marco van de Voort
Op 2019-09-06 om 16:07 schreef Michael Van Canneyt: While consulting the online reference about gettickcount https://www.freepascal.org/docs-html/rtl/sysutils/gettickcount64.html I could not know anything about the units involved. It says "It is useful for time measurements, but no assumti

Re: [fpc-pascal] Very vague gettickcount64 description?

2019-09-06 Thread Tomas Hajny
On 2019-09-06 16:15, DougC wrote: If intentionally vague then that fact should be included in the description along with the reason! That's a fair comment. I suggest that you raise it in a bug report. Tomas On Fri, 06 Sep 2019 10:06:24 -0400 Tomas Hajny wrote On 2019-09-03 15:

Re: [fpc-pascal] Very vague gettickcount64 description?

2019-09-06 Thread DougC
If intentionally vague then that fact should be included in the description along with the reason! On Fri, 06 Sep 2019 10:06:24 -0400 Tomas Hajny wrote On 2019-09-03 15:27, Paulo Costa wrote: > While consulting the online reference about gettickcount > https://www.freepascal.org/d

Re: [fpc-pascal] Very vague gettickcount64 description?

2019-09-06 Thread Michael Van Canneyt
On Tue, 3 Sep 2019, Paulo Costa wrote: Hi, While consulting the online reference about gettickcount https://www.freepascal.org/docs-html/rtl/sysutils/gettickcount64.html I could not know anything about the units involved. It says "It is useful for time measurements, but no assumtions shoul

Re: [fpc-pascal] Very vague gettickcount64 description?

2019-09-06 Thread Tomas Hajny
On 2019-09-03 15:27, Paulo Costa wrote: Hi, While consulting the online reference about gettickcount https://www.freepascal.org/docs-html/rtl/sysutils/gettickcount64.html I could not know anything about the units involved. It says "It is useful for time measurements, but no assumtions should

[fpc-pascal] Very vague gettickcount64 description?

2019-09-06 Thread Paulo Costa
Hi, While consulting the online reference about gettickcount https://www.freepascal.org/docs-html/rtl/sysutils/gettickcount64.html I could not know anything about the units involved. It says "It is useful for time measurements, but no assumtions should be made as to the interval between the t

Re: [fpc-pascal] Read lines into UnicodeString variable from UCS2 (UTF-16) encoded text file

2019-09-06 Thread Tomas Hajny
On 2019-09-06 07:24, LacaK wrote: From user POV we have this situation: - on one side there is input text file encoded UTF-16 (either LE or BE) - on other side there is FPC, where RTL procedures like AssignFile, SetTextCodePage, Reset, Read(Ln), Write(Ln) are available. My original intention was