Re: [fpc-pascal] What to do to get new users

2024-10-17 Thread Ralf Quint via fpc-pascal
On 10/17/2024 4:27 AM, Rainer Stratmann via fpc-pascal wrote: Am Donnerstag, 17. Oktober 2024, 03:24:07 CEST schrieb Ralf Quint via fpc- pascal: Sorry, but do you really suggest that Lazarus should intentionally adjust itself to the shortcomings of other IDEs? Being able to move windows around

Re: [fpc-pascal] What to do to get new users

2024-10-16 Thread Ralf Quint via fpc-pascal
On 10/16/2024 2:49 PM, James Richters via fpc-pascal wrote: >> By and large, FPC (and Lazarus) is installed rather quickly. The only thing I wish for the installation of FPC is that all the help files were included and installed by default. I am always annoyed by being required to go get the

Re: [fpc-pascal] What to do to get new users

2024-10-16 Thread Ralf Quint via fpc-pascal
On 10/16/2024 2:38 PM, Stefan-Iulian Alecu via fpc-pascal wrote: Lazarus does not look complicated. It has it own distinctive look & feel. User should be able to completely detach windows from from main so it would be possible to move them to different monitor, virtual desktop & freely move

Re: [fpc-pascal] What to do to get new users

2024-10-16 Thread Ralf Quint via fpc-pascal
Sorry, but there has been so much nonsense in this thread, I just had to add my 2c as well. On 10/15/2024 4:07 PM, Rainer Stratmann via fpc-pascal wrote: At the Lazarus Congress in Cologne in October 2024, it ended up being very interesting. An important question came up. Why are no new users c

Re: [fpc-pascal] "Unexpected end of file" when having an open comment after the final "end."

2024-02-09 Thread Ralf Quint via fpc-pascal
On 2/8/2024 11:01 AM, Martin Wynne via fpc-pascal wrote: Hi Thomas, The error is not the file content after "end.". The error is not having the expected "end;" after "begin". This works ok: _ program test; begin end; end. abc 123 _ Martin.

Re: [fpc-pascal] Floating point question

2024-02-04 Thread Ralf Quint via fpc-pascal
On 2/4/2024 12:32 PM, James Richters via fpc-pascal wrote: >> Not specifying in a program, specially in a strict programming language like Pascal, will always result in implementation depending >> variations/assumptions. The problem is, I feel that I DID specify what should be by declaring

Re: [fpc-pascal] Floating point question

2024-02-04 Thread Ralf Quint via fpc-pascal
On 2/4/2024 11:15 AM, James Richters via fpc-pascal wrote: I understand that the result depends on the variables and expressions, The problem with constants used in an expression is that some determination needs to be made because it's not specified. Since it's not specified, then I think it shou

Re: [fpc-pascal] Function to create a record ?

2023-06-01 Thread Ralf Quint via fpc-pascal
On 6/1/2023 5:36 PM, Steve Litt via fpc-pascal wrote: Hi all, I'm trying to create a function (called newperson()) that creates a new instance of a record. The following compiles with no errors or warnings in FPC, but multiple calls to newperson() produce exactly the same variable, so in the pre

Re: [fpc-pascal] Oberon-0

2023-04-20 Thread Ralf Quint via fpc-pascal
On 4/19/2023 7:46 PM, Adriaan van Os via fpc-pascal wrote: Ralf Quint via fpc-pascal wrote: What does Oberon and Forth have to do with the FreePascal compiler? 😕 1. Niklaus Wirth 2. Strong resemblance between Oberon and Pascal 3. An early version of his book Compiler Construction used

Re: [fpc-pascal] Oberon-0

2023-04-19 Thread Ralf Quint via fpc-pascal
On 4/19/2023 1:06 AM, Markus Greim via fpc-pascal wrote: You are right there are in between many compilers for the Propeller 2 around. My idea would be a to have an Oberon system on the Propeller itself. Developing on the target itself is unbeatable clever. Is started 35 Years ago with the 8051-

Re: [fpc-pascal] Cache-line alignment for records

2023-03-29 Thread Ralf Quint via fpc-pascal
On 3/29/2023 2:38 PM, Ched via fpc-pascal wrote: Hello, Ok for the records for internal calculations. But sometimes, records are used for reading/writing structured files. Does "packed" in "packed array" and "packed record" always forbid the compiler to play with alignments ? If that recor

Re: [fpc-pascal] Converting old pascal written for Pascal/MT+ compiler

2023-03-28 Thread Ralf Quint via fpc-pascal
On 3/28/2023 3:12 AM, Marco van de Voort via fpc-pascal wrote: On 28-3-2023 11:33, Karoly Balogh via fpc-pascal wrote: Probably yes, but there might be an alternative, see below. But as far as I understand, Unit is a Turbo Pascal concept, so any Pascal programming dialect that predates it, p

Re: [fpc-pascal] Converting old pascal written for Pascal/MT+ compiler

2023-03-28 Thread Ralf Quint via fpc-pascal
On 3/27/2023 2:45 AM, Jacob Kroon via fpc-pascal wrote: Hi, I have some old Pascal code that was compiled in a CPM environment using the Pascal/MT+ compiler from Digital Research. I'm trying to get this project to build in a modern environment, for a start using FreePascal. First, is anyone

Re: [fpc-pascal] Working on a new way to educate people about pascal

2022-12-31 Thread Ralf Quint via fpc-pascal
On 12/31/2022 12:37 AM, Steve Litt via fpc-pascal wrote: Anthony Walter via fpc-pascal said on Thu, 29 Dec 2022 07:31:57 -0500 @youngman "I'm a database guy with maybe 30 years experience, I'm new to SQL and oh my god is it an over-complicated monster ..." I'll say this: It certainly doesn't

Re: [fpc-pascal] Program efficiency

2022-11-15 Thread Ralf Quint via fpc-pascal
On 11/9/2022 6:52 AM, James Richters via fpc-pascal wrote: Sounds to me that if the compiler will probably insert temp variables anyway, then I might as well make my own and make it easier to understand later. +1 Trying to write this without intermediate variables would definitely make is

Re: [fpc-pascal] BoolToStr

2022-08-28 Thread Ralf Quint via fpc-pascal
On 8/28/2022 8:23 AM, James Richters via fpc-pascal wrote: Running "i:\booltostr.exe " -1 0 Why true is -1 instead of 1 is beyond me, but anyway, I would consider this BoolToInt, not BoolToStr,I want the Strings ‘TRUE’ or ‘FALSE’ as indicated in the documentation Very logical in fact. 0 is

Re: [fpc-pascal] string vs char

2021-10-15 Thread Ralf Quint via fpc-pascal
On 10/15/2021 3:16 PM, Ched via fpc-pascal wrote: Well, well, understand. OTOH, declaring a string of length 1 is sort of futile -- it uses two bytes where a plain char declaration takes just one byte. Not so futile as a string can be empty, not a char ! Well, if you don't like it being ca

Re: [fpc-pascal] FreePascal and MySQL 8.0

2021-09-20 Thread Ralf Quint via fpc-pascal
On 9/20/2021 12:39 AM, antlists via fpc-pascal wrote: On 20/09/2021 00:12, Ralf Quint via fpc-pascal wrote: On 9/18/2021 7:33 AM, Terry A. Haimann via fpc-pascal wrote: I just upgraded to a new laptop and see that MariaDB is using MySQL 8.0 . I also see there is no connector in my Free Pascal

Re: [fpc-pascal] FreePascal and MySQL 8.0

2021-09-19 Thread Ralf Quint via fpc-pascal
On 9/18/2021 7:33 AM, Terry A. Haimann via fpc-pascal wrote: I just upgraded to a new laptop and see that MariaDB is using MySQL 8.0 . I also see there is no connector in my Free Pascal install for MySQL 8.0. I do see that there is an open ticket to create a connector. Is there an Alpha or Beta

Re: [fpc-pascal] Hello, new Pascal programmer. had a question!

2021-08-31 Thread Ralf Quint via fpc-pascal
On 8/31/2021 10:40 AM, joseph turco via fpc-pascal wrote: I guess I should just use lazarus and learn the GUI Tools. Using Lazarus doesn't mean you HAVE TO write GUI programs. Just use it as an IDE. And by and large, any book/resource about Object Pascal/Delphi will do just fine to learn the

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

2021-07-11 Thread Ralf Quint via fpc-pascal
On 7/10/2021 10:20 AM, Ryan Joseph via fpc-pascal wrote: I guess that video is totally false or I'm missing something There is no easier way to cheat than using benchmarks... ;-) Ralf -- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antiviru

[fpc-pascal] 50 years of Pascal, by the the author himself

2021-05-12 Thread Ralf Quint via fpc-pascal
Thought this was kind of interesting, though it leaves short of mentioning the later Object Pascal evolution and thus Delphi and FreePascal... https://cacm.acm.org/magazines/2021/3/250705-50-years-of-pascal/fulltext Ralf -- This email has been checked for viruses by Avast antivirus softwar

Re: [fpc-pascal] Traits Proposal

2021-02-16 Thread Ralf Quint via fpc-pascal
On 2/16/2021 10:48 AM, Sven Barth via fpc-pascal wrote: Ryan Joseph via fpc-pascal > schrieb am Di., 16. Feb. 2021, 19:21: > > There we have: > > * slower creation of the class, because each implemented interface adds another VMT refer

Re: [fpc-pascal] Value:x:y syntax

2021-02-10 Thread Ralf Quint via fpc-pascal
On 2/9/2021 7:26 AM, Luis Henrique via fpc-pascal wrote: I guess one can call it optional formatting specifiers.  See documentation:  https://www.freepascal.org/docs-html/rtl/system/str.html I think I was lazy and didn't look in the right place, thanks Michael and Christo. This is standard

Re: [fpc-pascal] Selecting Records with a variable

2020-12-20 Thread Ralf Quint via fpc-pascal
On 12/20/2020 7:11 AM, Luca Olivetti via fpc-pascal wrote: Then change your data model. Instead of Axis_record = record   X,Y,Z,A,B,C    : Double; End; use AxisName = (X,Y,Z,A,B,C); Axis_record = array[AxisName] of double; then it's easy to do what you want. procedure DoSomething(var Axis:

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

2020-09-23 Thread Ralf Quint via fpc-pascal
On 9/22/2020 5:46 AM, dano none via fpc-pascal wrote: I have a basic shuffle routine. I put being, end statements in the outer loop for clarification. It ended up producing random results. Commenting out the begin, end combination allows the code to run as expected. My code is below, can someone

Re: [fpc-pascal] Killing the mail list

2020-03-15 Thread Ralf Quint via fpc-pascal
On 3/15/2020 6:55 AM, Ryan Joseph via fpc-pascal wrote: It's 2020 and the mail list is starting to really show its age. I don't get first messages from gmail and my personal web host is whitelisted, messages bounce when I use the wrong account by accident, hard to search the archives, can't po

Re: [fpc-pascal] Add API to official documentation search

2019-11-17 Thread Ralf Quint via fpc-pascal
On 11/17/2019 2:41 PM, Graeme Geldenhuys wrote: On 17/11/2019 10:31 pm, Michael Van Canneyt wrote: Stated purpose was special handling in the Bing search engine. Either way, that's a pie in the face for Embarcadero. :-) They might rather get a chuckle out of it, after all, it is Bing. And as