Re: [fpc-pascal] How does FPC perform in the FASTEST Computer Language Race

2021-07-09 Thread Winfried Bartnick via fpc-pascal
Ohh Nooo! Back in the 80s. Winni Am 09.07.21 um 19:40 schrieb Wayne Sherman via fpc-pascal: If you are a speed geek, you will probably be interested in this. What is the FASTEST Computer Language? 45 Languages Tested! (E01) https://www.youtube.com/watch?v=tQtFdsEcK_s Current standings at t

Re: [fpc-pascal] Windows Defender considers fp.exe a malicious program

2021-02-12 Thread Winfried Bartnick via fpc-pascal
Not only Windows Defender: After a compiler  run sometimes BitDefender moans (seldom) that the binary is some malware. Adding (or deleting) some code, another compiler run  and the phantom is gone. The Anti-Virus programs use a heuristic because of the immense ammount of malware and virus.

Re: [fpc-pascal] Range Check runtime errors

2020-12-08 Thread Winfried Bartnick via fpc-pascal
Am 07.12.20 um 21:28 schrieb James Richters via fpc-pascal: I was recently troubleshooting a program that got a range check error and had quite a time figuring it out... it gave me the line number that generated the error... but unfortunately that line had a whole pile variables in it... it

Re: [fpc-pascal] Is lazarus list down?

2020-10-22 Thread Winfried Bartnick via fpc-pascal
Am 22.10.20 um 16:17 schrieb Bo Berglund via fpc-pascal: I have not gotten any new posts on the Lazarus list since 2 weeks now (last seen was Oct 8th). Has it been stopped or is there a Gmane connectivity issue? I am communicating with the free-pascal.general list and lazarus via Gmane news int

Re: [fpc-pascal] Adding file to string to the RTL

2020-10-05 Thread Winfried Bartnick via fpc-pascal
Am 06.10.20 um 01:08 schrieb Jean SUZINEAU via fpc-pascal: In my own code I use BlockRead/BlockWrite, but I'm wondering if I've not seen this somewhere in RTL. https://github.com/jsuzineau/pascal_o_r_mapping/blob/TjsDataContexte/pascal_o_r_mapping/02_Units/uuStrings.pas function String_from

Re: [fpc-pascal] Dynamic Arrays in Procedures

2020-10-04 Thread Winfried Bartnick via fpc-pascal
Am 04.10.20 um 23:44 schrieb James Richters via fpc-pascal: So it does... I should have tested my own example. I found my problem, I declared it as Var and it would only work with variables due to that. -Original Message- From: fpc-pascal On Behalf Of gabor via fpc-pascal Sent: Su

Re: [fpc-pascal] Converting date formats

2020-10-03 Thread Winfried Bartnick via fpc-pascal
Am 03.10.20 um 22:36 schrieb Ryan Joseph via fpc-pascal: On Oct 3, 2020, at 2:15 PM, Winfried Bartnick via fpc-pascal wrote: Hi! Timezones are handled by the package PascalTZ. It is available through the Online Package Manager. Winni Thanks. I think the format I had was ISO8601 but

Re: [fpc-pascal] Converting date formats

2020-10-03 Thread Winfried Bartnick via fpc-pascal
Am 03.10.20 um 18:52 schrieb Ryan Joseph via fpc-pascal: On Oct 3, 2020, at 10:37 AM, Michael Van Canneyt wrote: Do you ever read the documentation ? You might then have read why the above will never work. You probably need this: https://www.freepascal.org/docs-html/current/rtl/dateutils

Re: [fpc-pascal] Is TryStrToDate works wrong?

2020-01-04 Thread Winfried Bartnick
Am 04.01.20 um 18:14 schrieb Michael Van Canneyt: On Sat, 4 Jan 2020, Gabor Boros wrote: Hi All, var   DT:TDateTime; begin   Writeln(BoolToStr(TryStrToDate('1',DT),True)); The result of above code is "True" with FPC and "False" with Delphi. This is normal. FPC accepts more than Delphi,

Re: [fpc-pascal] Writing to a drive which may be spun down

2019-11-22 Thread Winfried Bartnick
all, and even if the drive didn't do this, it seems like the operating system should take care of it for you. James -Original Message- From: fpc-pascal On Behalf Of Brian Sent: Thursday, November 21, 2019 8:55 PM To: FPC-Pascal users discussions Subject: Re: [fpc-pascal] Writ

Re: [fpc-pascal] Writing to a drive which may be spun down

2019-11-21 Thread Winfried Bartnick
Am 21.11.19 um 13:52 schrieb Brian: On 11/21/19 7:12 AM, wkitt...@windstream.net wrote: On 11/21/19 1:16 AM, Brian wrote: My question: Is there a standard method for handling this situation, i.e. making sure that a drive has not spun down, or is it just a case of writing a wrapper round the wri

Re: [fpc-pascal] Difficulty with DayOfWeek

2019-10-20 Thread Winfried Bartnick
Am 19.10.19 um 12:45 schrieb Luca Olivetti: El 19/10/19 a les 12:31, Ched ha escrit: Dear All,  From https://www.freepascal.org/docs-html/rtl/sysutils/dayofweek.html : DayOfWeek returns the day of the week from DateTime. Sunday is counted as day 1, Saturday is counted as day 7.  From http