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

2024-10-19 Thread Rainer Stratmann via fpc-pascal
Am Freitag, 18. Oktober 2024, 18:11:54 CEST schrieb Thomas Young via fpc- pascal: > Rainer, did you create this application with FPC? Please provide more > information about its development. > > Thomas Young > > > On Oct 18, 2024, at 10:48 AM, Rainer Stratmann via

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

2024-10-19 Thread Rainer Stratmann via fpc-pascal
Am Samstag, 19. Oktober 2024, 15:34:48 CEST schrieb Hairy Pixels via fpc- pascal: > On Oct 19, 2024 at 8:06:56 PM, Rainer Stratmann via fpc-pascal < > > fpc-pascal@lists.freepascal.org> wrote: > > Sorry, but if you start then you start with a simple program and then you

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

2024-10-19 Thread Rainer Stratmann via fpc-pascal
Am Samstag, 19. Oktober 2024, 14:57:32 CEST schrieb Hairy Pixels via fpc- pascal: > On Oct 19, 2024 at 7:53:14 PM, Rainer Stratmann via fpc-pascal < > > fpc-pascal@lists.freepascal.org> wrote: > > I feel very safe with freepascal. I don't know what you are talking ab

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

2024-10-19 Thread Rainer Stratmann via fpc-pascal
Am Samstag, 19. Oktober 2024, 14:20:45 CEST schrieb Hairy Pixels via fpc- pascal: > So right now if you wanted a low level compiled language to learn and you > want some memory safety you’re still going for C++. I feel very safe with freepascal. I don't know what you are talking about. It depends

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

2024-10-18 Thread Rainer Stratmann via fpc-pascal
Am Freitag, 18. Oktober 2024, 14:02:15 CEST schrieb Thomas Young via fpc- pascal: > One way to attract new users is create great software applications with FPC > for the world to see. https://klimaregelung.de/pages/deutsch/software.php ___ fpc-pascal m

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

2024-10-18 Thread Rainer Stratmann via fpc-pascal
Am Freitag, 18. Oktober 2024, 06:37:59 CEST schrieb Nikolay Nikolov via fpc- pascal: > > Lazarus is for Delphi nostalgic guys, like me. I'm sure 90% of Lazarus > > users have worked professionally with Delphi before. > > Not me. I really think Free Pascal is an improvement over many "modern" > lan

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

2024-10-17 Thread Rainer Stratmann via fpc-pascal
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 over multiple (2 or 3) monitors is the most effective way >

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

2024-10-16 Thread Rainer Stratmann via fpc-pascal
Am Mittwoch, 16. Oktober 2024, 23:12:08 CEST schrieb Michael Van Canneyt via fpc-pascal: > Actually, my employer has already offered twice to sponsor a web-designer to > overhaul the website. Money was not an issue. The idea was to announce a > contest and to select a winning design. The designer

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

2024-10-16 Thread Rainer Stratmann via fpc-pascal
Am Donnerstag, 17. Oktober 2024, 00:08:27 CEST schrieb Sven Barth via fpc- pascal: > News flash: this is how well behaved Linux applications are supposed to > behave no matter if they are a "Linux system program" or not. Haha, I did not know this. Very good that you tell me... As far as I know fp

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

2024-10-16 Thread Rainer Stratmann via fpc-pascal
Am Mittwoch, 16. Oktober 2024, 18:27:19 CEST schrieb Martin Frb via fpc- pascal: > >> Yeah, editor toolbar => you get that name, if you click the "configure" > >> option. The toolbar can be on top or bottom. > > > > However, this has to be done from scratch every time you install Lazarus > > inste

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

2024-10-16 Thread Rainer Stratmann via fpc-pascal
Am Mittwoch, 16. Oktober 2024, 17:40:26 CEST schrieb xuser13--- via fpc- pascal: > Freepascal will never become popular in a world where JavaScript is > everywhere, Delphi exists & Pascal has a reputation of not cool > programming language. I strongly believe that many users will have fun with Fre

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

2024-10-16 Thread Rainer Stratmann via fpc-pascal
Am Mittwoch, 16. Oktober 2024, 16:16:45 CEST schrieb Marco van de Voort via fpc-pascal: > > I can't see any contradiction here. If we do things better, everyone > > benefits. > You need the new users to stick, not just to try it. Specially if you > have to do a lot of trouble to increase the numbe

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

2024-10-16 Thread Rainer Stratmann via fpc-pascal
Am Mittwoch, 16. Oktober 2024, 15:54:20 CEST schrieb Martin Frb via fpc- pascal: > Define "Compiler". > > You use one and the same fpc.exe. > > But you need a different ppc.exe. All those ppc live in the same > folder. And they are all called by the same fpc.exe, depending on the > options gi

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

2024-10-16 Thread Rainer Stratmann via fpc-pascal
Am Mittwoch, 16. Oktober 2024, 15:09:47 CEST schrieb Liam Proven via fpc- pascal: > On Wed, 16 Oct 2024 at 00:16, Rainer Stratmann via fpc-pascal > > wrote: > > At the Lazarus Congress in Cologne in October 2024, it ended up being very > > interesting. > > Promoting

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

2024-10-16 Thread Rainer Stratmann via fpc-pascal
Am Mittwoch, 16. Oktober 2024, 14:03:39 CEST schrieb Marco van de Voort via fpc-pascal: > Making sure the few initial > converts stick is as important as getting more initial impressions. I can't see any contradiction here. If we do things better, everyone benefits.

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

2024-10-16 Thread Rainer Stratmann via fpc-pascal
Am Mittwoch, 16. Oktober 2024, 11:20:35 CEST schrieb Martin Frb via fpc- pascal: > If it is cross compiling (using same compiler version), and if the > compiler is installed (as cross compiler): > Project Options > Compiler opts > Config and Target But there is not the compiler itself. If you have

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

2024-10-16 Thread Rainer Stratmann via fpc-pascal
Am Mittwoch, 16. Oktober 2024, 11:07:25 CEST schrieb Nikolay Nikolov via fpc- pascal: > Or maybe, it's better? I don't know. Maybe explain what do you mean by > "doesn't look like the project is very lively". Maybe we should post > updates more often? It all comes to the point of easy beginning.

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

2024-10-15 Thread Rainer Stratmann via fpc-pascal
Am Mittwoch, 16. Oktober 2024, 04:00:30 CEST schrieb DougC via fpc-pascal: > I don't think the situations are vary similar, so I don't think the > comparison is useful. I mainly wanted to say that it is possible to do so without extensive marketing. Linux is another example. Linux does not spend

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

2024-10-15 Thread Rainer Stratmann via fpc-pascal
Am Mittwoch, 16. Oktober 2024, 02:54:12 CEST schrieb DougC via fpc-pascal: > So, faced with this situation, what can be done? Short of a massive and > expensive marketing effort, not much... Please notice that Telegram does not spend any money in marketing! Pavel Durov, the founder of Telegram say

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

2024-10-15 Thread Rainer Stratmann via fpc-pascal
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 coming to Lazarus/Freepascal? Why do we find it so difficult? How can we get new, younger users to come to us? The same questions came up over a year ago at

Re: [fpc-pascal] What's in Hello World

2024-01-07 Thread Rainer Stratmann via fpc-pascal
Am Sonntag, 7. Januar 2024, 14:09:24 CET schrieb Florian Klämpfl via fpc- pascal: > > Am 07.01.2024 um 13:21 schrieb Ingemar Ragnemalm via fpc-pascal > > : > > > > Just for comparison, I fired up Think Pascal and made Hello world! > > > > Plain Hello world, closes so quickly that you don't have t

Re: [fpc-pascal] RIP: Software design pioneer and Pascal creator Niklaus Wirth

2024-01-05 Thread Rainer Stratmann via fpc-pascal
Misconstruing complexity as sophistication: According to Wirth, “people seem to misinterpret complexity as sophistication.” The more complicated a product is, the more polished or knowledgeable the user would appear. Hence, software vendors create complex software and send this marketing message

Re: [fpc-pascal] Program crash - read the error messages

2023-09-01 Thread Rainer Stratmann via fpc-pascal
Am Freitag, 1. September 2023, 18:46:06 CEST schrieb Peter B via fpc-pascal: > Can you compile the crashing program with -gl? Yes, I can. I know this, but then the program is bigger. For finding the error it is useful, yes. Otherwise I switch it off. There are around 100 clients that downlo

Re: [fpc-pascal] Program crash - read the error messages

2023-09-01 Thread Rainer Stratmann via fpc-pascal
Am Freitag, 1. September 2023, 17:57:26 CEST schrieb Tomas Hajny via fpc- pascal: > On 2023-09-01 17:39, Rainer Stratmann via fpc-pascal wrote: > > Ah, sorry. I Forgot it totally. > > > > It is a plain console program under Linux. > > > > Yes, the remaining prog

Re: [fpc-pascal] Program crash - read the error messages

2023-09-01 Thread Rainer Stratmann via fpc-pascal
: EAccessViolation: Access violation $0814EC41 ... ... ... This messages I need to read automatically Am Freitag, 1. September 2023, 16:13:54 CEST schrieb Tomas Hajny via fpc- pascal: > On 2023-09-01 15:43, Rainer Stratmann via fpc-pascal wrote: > > > Hello, > > > Where

[fpc-pascal] Program crash - read the error messages

2023-09-01 Thread Rainer Stratmann via fpc-pascal
Where can I find the output of the error messages if a program crashes. There is another program that still is running. I want to read the error messages automatically if that is possible. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org htt

[fpc-pascal] Compile time -> processor benchmark values

2023-05-29 Thread Rainer Stratmann via fpc-pascal
Now I have a i7-3770S cpubenchmark says: Average CPU Mark: 6175 Single Thread Rating: 2043 https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i7-3770S+%40+3.10GHz I expect to buy a new computer with a i5-13400F or similar cpubenchmark says: Average CPU Mark: 25969 Single Thread Rating: 3702 http

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

2022-12-29 Thread Rainer Stratmann via fpc-pascal
Am Donnerstag, 29. Dezember 2022, 15:02:41 CET schrieb DougC via fpc-pascal: > The response has been made that the example code in the tutorial is more > complicated than it should be. The installation process (in my case Linux) should be easy as well. For beginners that is at least as important a

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

2022-12-28 Thread Rainer Stratmann via fpc-pascal
Am Dienstag, 27. Dezember 2022, 17:47:13 CET schrieb Anthony Walter via fpc- pascal: > Hi guys, > > I had a new idea for an interface design to help people who either are not > into programming yet or have only used a language other than Free Pascal. Hello, the design is really good. I have the

Re: [fpc-pascal] Be careful of too many features

2022-05-30 Thread Rainer Stratmann via fpc-pascal
Am Montag, 30. Mai 2022, 20:59:56 CEST schrieb Steve Litt via fpc-pascal: > I think adding yet more features obfuscates and Perlizes > Pascal. What does Perlize mean? Only a very little percentage of the code is using it. And you could easily do it in another way. I also don't like make things co

Re: [fpc-pascal] Feature announcement: implicit generic function specializations

2022-04-22 Thread Rainer Stratmann via fpc-pascal
Am Freitag, 22. April 2022, 19:53:34 CEST schrieben Sie: > Am 22.04.2022 um 15:48 schrieb Rainer Stratmann via fpc-pascal: > > Am Mittwoch, 20. April 2022, 19:15:15 CEST schrieb Sven Barth via fpc- pascal: > We don't deal in percentages, however it reduces the amount of typing &g

Re: [fpc-pascal] Feature announcement: implicit generic function specializations

2022-04-22 Thread Rainer Stratmann via fpc-pascal
Am Freitag, 22. April 2022, 17:27:33 CEST schrieb Hairy Pixels via fpc-pascal: > > On Apr 22, 2022, at 8:48 PM, Rainer Stratmann via fpc-pascal > It’s like everything else in programming languages. > > 1) you can specialize the function manually so implicit specialization is >

Re: [fpc-pascal] Feature announcement: implicit generic function specializations

2022-04-22 Thread Rainer Stratmann via fpc-pascal
Am Mittwoch, 20. April 2022, 19:15:15 CEST schrieb Sven Barth via fpc-pascal: > This feature is enabled with the modeswitch > ImplicitFunctionSpecialization and is for now not enabled by default as > this has the potential to break existing code. How many percent of the users need this feature? Is

[fpc-pascal] Interface section overload procedures are all public

2022-01-23 Thread Rainer Stratmann via fpc-pascal
// making only one procedure bugtest public in the interface section // makes all other bugtest procedures public as well! // Lazarus 2.0.0+dfsg-2 // FPC-Version: 3.0.4 // OS: Linux Debian 32 Bit unit test; interface procedure bugtest( p1 : longint ); implementation procedure bugtest( p1 : lon

Re: [fpc-pascal] freepascal.org SSL_ERROR_BAD_CERT_DOMAIN

2022-01-05 Thread Rainer Stratmann via fpc-pascal
Here it is ok now. Linux Debian, Firefox Browser Am Mittwoch, 5. Januar 2022, 11:05:34 CET schrieb Michael Van Canneyt via fpc- pascal: > On Wed, 5 Jan 2022, Dimitrios Chr. Ioannidis via fpc-pascal wrote: > > Hi, > > > > On 2022-01-05 11:09, Dmitry Boyarintsev via fpc-pascal wrote: > >> On Wed,

[fpc-pascal] freepascal.org SSL_ERROR_BAD_CERT_DOMAIN

2022-01-04 Thread Rainer Stratmann via fpc-pascal
https://freepascal.org/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] How to list IP and MAC of network adapters on Windows?

2021-12-28 Thread Rainer Stratmann via fpc-pascal
May be that helps a little bit. Please give a feedback if it works or not or if you can improve it. I use the curl library directly. Not on the command line. {$ifdef windows} uses sockets , winsock2; procedure adds2( var dw : dword ; p : pointer ); var addr : pinaddr; begin addr := p; if add

Re: [fpc-pascal] Creating a shared library (Linux)

2021-12-28 Thread Rainer Stratmann via fpc-pascal
s In the Project settings -> path window could be better explained. Am Dienstag, 28. Dezember 2021, 13:10:56 CET schrieb Rainer Stratmann via fpc- pascal: > https://www.freepascal.org/docs-html/prog/progse55.html > > When analysing the mylib.o output file under Linux with > > nm

[fpc-pascal] Creating a shared library (Linux)

2021-12-28 Thread Rainer Stratmann via fpc-pascal
https://www.freepascal.org/docs-html/prog/progse55.html When analysing the mylib.o output file under Linux with nm -D mylib.o the answer is: no symbols. I have an export section in the library and in the past it worked already, but I did not remember exactly how. How can I get a shared librar

Re: [fpc-pascal] 64 bit Linux syscall from 32 bit fpc program

2021-12-24 Thread Rainer Stratmann via fpc-pascal
Am Freitag, 24. Dezember 2021, 23:02:03 CET schrieb Sven Barth via fpc-pascal: > Rainer Stratmann via fpc-pascal schrieb > > am Fr., 24. Dez. 2021, 15:04: > > Is it possible to make a direct 64 bit Linux syscall from a 32 bit fpc > > programm? > > No, because your pro

[fpc-pascal] 64 bit Linux syscall from 32 bit fpc program

2021-12-24 Thread Rainer Stratmann via fpc-pascal
Is it possible to make a direct 64 bit Linux syscall from a 32 bit fpc programm? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] How To: Use lib curl example

2021-12-05 Thread Rainer Stratmann via fpc-pascal
Am Sonntag, 5. Dezember 2021, 20:38:30 CET schrieb Rainer Stratmann via fpc- pascal: > Does that mean curl is always waiting until the whole operation (download) > is complete? > > Is it possible to do it in a nonblocked way? For example with a continuous > nonblocked loop call

Re: [fpc-pascal] How To: Use lib curl example

2021-12-05 Thread Rainer Stratmann via fpc-pascal
Does that mean curl is always waiting until the whole operation (download) is complete? Is it possible to do it in a nonblocked way? For example with a continuous nonblocked loop call and a flag when the operation is finished? Am Dienstag, 28. September 2021, 02:01:00 CET schrieb Anthony Walte

Re: [fpc-pascal] Example for unit paszlib

2021-08-26 Thread Rainer Stratmann via fpc-pascal
Canneyt via fpc-pascal: > On Wed, 25 Aug 2021, Rainer Stratmann via fpc-pascal wrote: > > Is there an example for the unit paszlib? > > > > This does not work: > > https://wiki.lazarus.freepascal.org/paszlib > > What does not work exactly ? the zipper unit is

[fpc-pascal] Example for unit paszlib

2021-08-25 Thread Rainer Stratmann via fpc-pascal
Is there an example for the unit paszlib? This does not work: https://wiki.lazarus.freepascal.org/paszlib I have Lazarus 2.0.0 FPC 3.0.4 May be there are different versions of paszlib. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https

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

2021-05-12 Thread Rainer Stratmann via fpc-pascal
https://www.mikroe.com/mikropascal-avr It is in heavy use. They have Pascal compilers for ARM, PIC, etc. also. Am Mittwoch, 12. Mai 2021, 21:51:03 CEST schrieb Ryan Joseph via fpc-pascal: > > On May 12, 2021, at 12:30 PM, Ralf Quint via fpc-pascal > > wrote: > > > > Thought this was kind of in

Re: [fpc-pascal] 50 Years of Pascal

2021-02-24 Thread Rainer Stratmann via fpc-pascal
Am Mittwoch, 24. Februar 2021, 17:50:45 CET schrieb Liam Proven via fpc- pascal: > I thought this might interest folks. Apologies if I am late to the party. > > https://cacm.acm.org/magazines/2021/3/250705-50-years-of-pascal/fulltext https://de.wikipedia.org/wiki/Niklaus_Wirth Here is an interes

Re: [fpc-pascal] fpmmap problem 64 bit linux

2020-11-22 Thread Rainer Stratmann via fpc-pascal
bytes). https://man7.org/linux/man-pages/man2/mmap2.2.html But it is not yet implemented. FPC 3.0.4 Am Samstag, 21. November 2020, 13:31:22 CET schrieb Rainer Stratmann via fpc- pascal: > I watched the syscalls with strace and my assumption was confirmed. > > function Fpmmap( start

Re: [fpc-pascal] fpmmap problem 64 bit linux

2020-11-21 Thread Rainer Stratmann via fpc-pascal
is the easiest answer is "distribute both > 32 and 64 bit versions," but that doesn't help when you need to test the 32 > bit one.. > > -- > Alexander Grotewohl > https://dcclost.com > > -- > Alexander Grotewohl > https://dcclost.com > ___

[fpc-pascal] fpmmap problem 64 bit linux

2020-11-20 Thread Rainer Stratmann via fpc-pascal
A 32 bit freepascal program on a 32 bit Linux Debian system is working properly. It uses fpmmap for getting the adress of a kms framebuffer. The same 32 bit program on a 64 bit Linux Debian system *** is not working. When it comes to the fpmmap it gives an error: Sys_EINVAL One of the record

Re: [fpc-pascal] Writeln() behaves differently on Windows and Linux, why?

2020-07-09 Thread Rainer Stratmann
I had exactly the same behaviour. Some setterm commands solved it, if I remember correct. setterm -blank 0 setterm -powersave off I guess it was the first command. You can try it. Am Donnerstag, 9. Juli 2020, 18:01:42 CEST schrieb Bo Berglund via fpc-pascal: > I am writing a cross-platform pro

Re: [fpc-pascal] FPC for Win64

2020-07-07 Thread Rainer Stratmann
Am Dienstag, 7. Juli 2020, 09:42:54 CEST schrieb Marco van de Voort: > Op 07/07/2020 om 09:14 schreef Rainer Stratmann: > > For Linux: Does that mean apt-get install lazarus is always the 32bit > > version? Regardless of the Linux Version (32bit or 64bit). > > No. The

Re: [fpc-pascal] FPC for Win64

2020-07-07 Thread Rainer Stratmann
Am Samstag, 4. Juli 2020, 20:02:39 CEST schrieb Graeme Geldenhuys: > On 02/07/2020 9:30 pm, Evert van Dijken via fpc-pascal wrote: > > I see a WIN32 compiler and a WIN64 cross > > compiler. How it works is a mystery for me. > > I never understood the choice FPC made to not create a native 64-bit >

Re: [fpc-pascal] Different behaviour between FPC 2.6.4 and FPC 3.0.4

2020-05-05 Thread Rainer Stratmann
Am Dienstag, 5. Mai 2020, 22:53:53 CEST schrieb Bart via fpc-pascal: > On Tue, May 5, 2020 at 10:05 PM Rainer Stratmann > > wrote: > > Did I overlooked something? > > Your function returns a functiontype? > Is that intended? And I wonder why result := false; did n

Re: [fpc-pascal] Different behaviour between FPC 2.6.4 and FPC 3.0.4

2020-05-05 Thread Rainer Stratmann
Am Dienstag, 5. Mai 2020, 22:53:53 CEST schrieb Bart via fpc-pascal: > On Tue, May 5, 2020 at 10:05 PM Rainer Stratmann > > wrote: > > Did I overlooked something? > > Your function returns a functiontype? > Is that intended? No :-) But that worked a long time (2 yea

Re: [fpc-pascal] Different behaviour between FPC 2.6.4 and FPC 3.0.4

2020-05-05 Thread Rainer Stratmann
hl > https://dcclost.com > > From: fpc-pascal on behalf of > Rainer Stratmann Sent: Tuesday, May 5, 2020 > 4:20:11 PM > To: FPC-Pascal users discussions > Subject: Re: [fpc-pascal] Different behaviour between FPC 2.6.4 and FPC > 3.0.4 > Am Dienstag, 5. Mai 2020, 22:

Re: [fpc-pascal] Different behaviour between FPC 2.6.4 and FPC 3.0.4

2020-05-05 Thread Rainer Stratmann
Am Dienstag, 5. Mai 2020, 22:14:09 CEST schrieb Alexander Grotewohl: > procvar:=@proc_bool; ? Error: Incompatible types > -- > Alexander Grotewohl > https://dcclost.com > > > From: fpc-pascal on behalf of > Rainer Stratmann Sent: Tues

[fpc-pascal] Different behaviour between FPC 2.6.4 and FPC 3.0.4

2020-05-05 Thread Rainer Stratmann
Compiled with FPC 3.0.4 there is an access violation when executing procvar; Compiled with FPC 2.6.4 it works for a long time. Did I overlooked something? Mode: MObjFPC type t_funcboolean = function : boolean; var procvar : t_funcboolean; function proc_bool : t_funcboolean; begin end; begin

Re: [fpc-pascal] New release of MSEide.

2020-04-02 Thread Rainer Stratmann
Am Donnerstag, 2. April 2020, 20:23:07 CEST schrieb fredvs via fpc-pascal: > Hello everybody. > > Many thanks to fpc team that helped so much for that release (particularly > Sven). > > Have a lot of fun. > > Fre;D How long are you involved already in the MSEide project? _

Re: [fpc-pascal] fpbind ipv6 version

2019-10-28 Thread Rainer Stratmann
On Sonntag, 27. Oktober 2019 10:32:11 CET Michael Van Canneyt wrote: > On Sat, 26 Oct 2019, Rainer Stratmann wrote: > > https://www.freepascal.org/docs-html/current/rtl/sockets/fpbind.html > > > > Is there an example for IPV6? > > > > function fpbind( > &g

[fpc-pascal] fpbind ipv6 version

2019-10-26 Thread Rainer Stratmann
https://www.freepascal.org/docs-html/current/rtl/sockets/fpbind.html Is there an example for IPV6? function fpbind( s: cint; addrx: psockaddr; addrlen: TSockLen ):cint; I guess psockaddr is different in IPV6 version. ___ fpc-pascal maillist - f

Re: [fpc-pascal] += property bug?

2019-08-15 Thread Rainer Stratmann
On Mittwoch, 14. August 2019 14:15:51 CEST Ryan Joseph wrote: > > On Aug 14, 2019, at 12:33 PM, Rainer Stratmann > > wrote: > > > > Didn't you know that Ryan? > > Yes, of course, I use them all the time and it’s why I was defending them > from their criti

Re: [fpc-pascal] += property bug?

2019-08-14 Thread Rainer Stratmann
On Mittwoch, 14. August 2019 18:24:40 CEST Michael Van Canneyt wrote: > On Wed, 14 Aug 2019, Ryan Joseph wrote: > >> On Aug 14, 2019, at 12:04 PM, Rainer Stratmann wrote: > >>> It’s so > >>> intuitive that basically all languages have adopted the syntax. >

Re: [fpc-pascal] += property bug?

2019-08-14 Thread Rainer Stratmann
On Mittwoch, 14. August 2019 11:45:20 CEST Ryan Joseph wrote: > > On Aug 14, 2019, at 11:41 AM, wkitt...@windstream.net wrote: > > > > good reason?? because someone is too lazy to type 4 more characters? yes, > > i'm counting the readability spaces which could easily be left out... > yes, that’s e

Re: [fpc-pascal] += property bug?

2019-08-11 Thread Rainer Stratmann
On Sonntag, 11. August 2019 12:21:18 CEST Ryan Joseph wrote: > > On Aug 11, 2019, at 11:41 AM, Sven Barth via fpc-pascal > > wrote: > > > > This is forbidden by design. > > Why? It makes sense it should resolve to: d.setter(d.getter + 10) but maybe > there’s a problem? For me it seems that you

Re: [fpc-pascal] Lazarus Release 2.0.2 - suggestions

2019-07-21 Thread Rainer Stratmann
On Dienstag, 16. April 2019 22:36:07 CEST Mattias Gaertner via fpc-pascal wrote: > Packages / Install Packages > Select anchordockingdsgn on the right side and click "Install > selection". > Then "Save and rebuild IDE". Habe jetzt das ganz neue Debian 10 - mit apt-get install lazarus (2.0.0) - au

[fpc-pascal] Linphone wrapper

2019-05-29 Thread Rainer Stratmann
Is someone using Linphone? I need a wrapper for the library. https://www.linphone.org/technical-corner/liblinphone Or is there another solution for automatic VoIP calls? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal

[fpc-pascal] Translating c records

2019-04-24 Thread Rainer Stratmann
struct sockaddr_ll { unsigned short sll_family; unsigned short sll_protocol; intsll_ifindex; unsigned short sll_hatype; unsigned char sll_pkttype; unsigned char sll_halen; unsigned char sll_addr[8]; }; type sockaddr_ll = record

Re: [fpc-pascal] Lazarus Release 2.0.2 - suggestions

2019-04-17 Thread Rainer Stratmann
On Dienstag, 16. April 2019 22:36:07 CEST Mattias Gaertner via fpc-pascal wrote: > On Tue, 16 Apr 2019 21:13:52 +0200 > > Rainer Stratmann wrote: > > On Dienstag, 16. April 2019 21:02:50 CEST Rainer Stratmann wrote: > > > But how can I install/activate it. > > >

Re: [fpc-pascal] Lazarus Release 2.0.2 - suggestions

2019-04-16 Thread Rainer Stratmann
On Dienstag, 16. April 2019 13:07:33 CEST Ralf Quint wrote: > But I still think that this should not be the default setting... As you may have not seen while being busy with something else... I repeat it for you. On Dienstag, 16. April 2019 20:44:56 CEST Mattias Gaertner via fpc-pascal wrote: >

Re: [fpc-pascal] Linux DRM (Direct Rendering Manager) porting (kernel mode setting)

2019-04-16 Thread Rainer Stratmann
hdmi, dvi connector). You get a mempointer to a framebuffer. It is possible to have access to more than one connector at the same time if the mainboard or graphic card supports it. On Donnerstag, 21. März 2019 23:41:08 CEST Rainer Stratmann wrote: > Currently I am porting some C code from the L

Re: [fpc-pascal] Lazarus Release 2.0.2 - suggestions

2019-04-16 Thread Rainer Stratmann
On Dienstag, 16. April 2019 21:02:50 CEST Rainer Stratmann wrote: > But how can I install/activate it. I found an instruction, but I got an error: lazarus.pp(1,1) Fatal: Kann anchordockingdsgn nicht finden verwendet von Lazarus. Check if package AnchorDockingDsgn creates anchordockingdsgn.

Re: [fpc-pascal] Lazarus Release 2.0.2 - suggestions

2019-04-16 Thread Rainer Stratmann
On Dienstag, 16. April 2019 14:34:05 CEST Sven Barth via fpc-pascal wrote: > You can install the AnchorDockingDsgn package and have all windows > integrated (except for forms which need an additional package). That sounds good for both use cases. But how can I install/activate it. I tried with a

Re: [fpc-pascal] Lazarus Release 2.0.2 - suggestions

2019-04-16 Thread Rainer Stratmann
On Dienstag, 16. April 2019 11:37:56 CEST Ralf Quint wrote: > On 4/16/2019 4:46 AM, Rainer Stratmann wrote: > Anyone who seriously develops software, specially desktop applications, > is/should be using at least two (better 3 monitors). That is completely new for me that the amount of

Re: [fpc-pascal] Lazarus Release 2.0.2 - suggestions

2019-04-16 Thread Rainer Stratmann
On Dienstag, 16. April 2019 13:46:59 CEST Rainer Stratmann wrote: > buttons of the main window. Also the output window could be one tab of the > search window. I mean search result window more precisely. ___ fpc-pascal maillist - fpc-

Re: [fpc-pascal] Lazarus Release 2.0.2 - suggestions

2019-04-16 Thread Rainer Stratmann
Are there plans to merge some windows? Like here (best solution): https://cdn.portableapps.com/GeanyPortable.png Because I think it is no more up to date. I don't know any other Software that uses so many windows across the whole desktop. It would be more userfriendly to merge at least the main

Re: [fpc-pascal] Can FPC optimize: if (s[i]='a') or ...

2019-04-15 Thread Rainer Stratmann
On Sonntag, 14. April 2019 21:35:43 CEST wkitt...@windstream.net wrote: > On 4/14/19 7:28 AM, Rainer Stratmann wrote: > > On Samstag, 13. April 2019 22:30:55 CEST Alexey Tor. wrote: > >> E.g. i have a loop which test each s[i] char for several cases: 'a', > >&

Re: [fpc-pascal] Can FPC optimize: if (s[i]='a') or ...

2019-04-14 Thread Rainer Stratmann
On Samstag, 13. April 2019 22:30:55 CEST Alexey Tor. wrote: > E.g. i have a loop which test each s[i] char for several cases: 'a', > 'b', 'c'. > > for i:= 1 to length(s) do > > if (s[i]='a') or (s[i]='b') or (s[i]='c') then ... > > Can FPC optimize it so it only reads s[i] once (to register), no

[fpc-pascal] Linux DRM (Direct Rendering Manager) porting

2019-03-21 Thread Rainer Stratmann
Currently I am porting some C code from the Linux DRM Mode-Setting API to pascal. First in my own way. So that it is usable for me. But it would be possible to make a separate unit out of it, of course. I could compile the modeset.c code with the Linux compiler. It runs well on Linux. It's a go

Re: [fpc-pascal] Compiling 32 bit software on Debian Linux 64 bit

2018-10-30 Thread Rainer Stratmann
On Dienstag, 30. Oktober 2018 12:25:04 CET Rainer Stratmann wrote: > How is it possible to compile a 32 bit program on a 64 bit Debian Linux? > > When I select i386 as the target cpu the message 'ppc 386 can't be executed' > appears. > > Is it possible to insta

[fpc-pascal] Compiling 32 bit software on Debian Linux 64 bit

2018-10-30 Thread Rainer Stratmann
How is it possible to compile a 32 bit program on a 64 bit Debian Linux? When I select i386 as the target cpu the message 'ppc 386 can't be executed' appears. Is it possible to install ppc386 with an apt-get command? ___ fpc-pascal maillist - fpc-pas

Re: [fpc-pascal] Searchable docs online

2018-07-05 Thread Rainer Stratmann
Is the server itself written in freepascal? Or is it apache or nginx? Am Donnerstag, 5. Juli 2018, 15:50:23 schrieb Michael Van Canneyt: > Hello, > > Given the questions of late, I have created a search page for the docs: > > https://www.freepascal.org/docsearch/docsearch.html > > This will sea

Re: [fpc-pascal] Default record fields

2018-06-22 Thread Rainer Stratmann
Am Freitag, 22. Juni 2018, 16:03:28 schrieb Marcos Douglas B. Santos: > On Fri, Jun 22, 2018 at 12:59 PM, Ralf Quint wrote: > > On 6/22/2018 4:19 AM, Karoly Balogh (Charlie/SGR) wrote: > >> Hi, > >> > >> On Fri, 22 Jun 2018, Ryan Joseph wrote: > >>> I want to do a pivot away from the macro stuff

Re: [fpc-pascal] AppImage

2018-01-16 Thread Rainer Stratmann
Am Dienstag, 16. Januar 2018, 22:41:34 schrieb Sven Barth via fpc-pascal: > This won't work in the more diverse > Linux world where users are more free to decide. But if you take a closer look at this (diverse) that is some kind of pseudo free and decide. It would be technical no such problem to

Re: [fpc-pascal] AppImage

2018-01-16 Thread Rainer Stratmann
Am Dienstag, 16. Januar 2018, 19:41:38 schrieb Graeme Geldenhuys: > On 2018-01-16 06:51, Sven Barth via fpc-pascal wrote: > > So, yeah, I'm definitely skeptical about such approaches. > > All valid points. But if it was such a big concern, then why was Apple > happy to go with it. Maybe the concer

Re: [fpc-pascal] AppImage

2018-01-16 Thread Rainer Stratmann
Am Dienstag, 16. Januar 2018, 07:51:27 schrieb Sven Barth via fpc-pascal: > Maybe because each app will have its own dependencies, thus duplicating > code. > Also if you have different versions of dependencies they might access > shared global configuration in incompatible ways. > Not to mention th

[fpc-pascal] AppImage

2018-01-15 Thread Rainer Stratmann
Take a look at https://appimage.org/ Is this possible for Freepascal and Lazarus? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] MSEide+MSEgui 4.6 for FPC 3.0.4

2017-11-29 Thread Rainer Stratmann
Am Mittwoch, 29. November 2017, 21:43:00 schrieb Marcos Douglas B. Santos: > On Wed, Nov 29, 2017 at 9:35 PM, Rainer Stratmann > > wrote: > > Am Mittwoch, 29. November 2017, 07:19:32 schrieb Martin Schreiber: > >> What is missing > >> in Free Pascal? > >

Re: [fpc-pascal] MSEide+MSEgui 4.6 for FPC 3.0.4

2017-11-29 Thread Rainer Stratmann
Am Mittwoch, 29. November 2017, 07:19:32 schrieb Martin Schreiber: > What is missing > in Free Pascal? A userfriendly setup/install for every compile/cross compile scenario out of the box. Without the need for compiling fpc. Without the need for an internet connection.

Re: [fpc-pascal] FPC for AVR

2017-06-15 Thread Rainer Stratmann
Am Donnerstag, 15. Juni 2017, 08:34:49 schrieb Mark Morgan Lloyd: > On 14/06/17 20:15, Brian wrote: > > mikroPascal (not free) supports AVR and many other chips. > > https://shop.mikroe.com/compilers/mikropascal/avr-electronic-license > > Brian > > Yes, but I was asking about the FPC situation. I'

[fpc-pascal] https how does it work

2017-02-16 Thread Rainer Stratmann
How does httpy work, what is needed? TLS/SSL library? A http webserver without encryption I programed already on my own and wanted to integrate https. Is there any example code of https? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Socket pair

2016-10-03 Thread Rainer Stratmann
There is fpaccept http://www.freepascal.org/docs-html/rtl/sockets/fpaccept.html But in the example accept is used ... (?!) Am Montag, 3. Oktober 2016, 10:27:55 schrieb Santiago A.: > I've seen that "accept" functions with socket pairs are deprecated. And > fpsocketpair returns always -1. > > H

Re: [fpc-pascal] Test for valid ip address

2016-07-28 Thread Rainer Stratmann
Am Donnerstag, 28. Juli 2016, 10:26:32 schrieb Jonas Maebe: > On 28/07/16 10:14, Koenraad Lelong wrote: > > I need a way to test if an string containing an ipv4-address is really > > an ipv4-address. > > I tried > > tmpAddress:=HostAddrToStr(StrToHostAddr(IPAddressStr)); > > writeln(tmpAddress); >

Re: [fpc-pascal] Test for valid ip address

2016-07-28 Thread Rainer Stratmann
The IP-Adress is a dword, but you can change, that it fits for you. function str_getval( str : shortstring ) : longint; var cod : longint; begin val( str , result , cod ); end; function ip_from_string( ipstr : shortstring ; out error : boolean ) : dword; var c : char; ipn , pointanz : longint

[fpc-pascal] EBusError

2016-07-26 Thread Rainer Stratmann
An unhandled exception occured at $08113310 : EBusError : Bus error or misaligned data access $08113310 $08052EF3 $08078A3E $080540B0 $08054D96 $080551D1 $08055915 Is it likely that there is a problem with my Freepascal program or is it also possible that Linux or the Mainboard causes the

Re: [fpc-pascal] Maximum of memory which can be used by single program in 32 bit Windows

2016-05-18 Thread Rainer Stratmann
Is there a different behaviour on linux? I guess there is no limit...(!?) Am Donnerstag, 19. Mai 2016, 08:46:57 schrieb LacaK: > >> another question: is there any limit in FPC, which causes that only cca > >> 1GB of memory can be used by FPC ? > > > > No, but there is one that limits to 2GB. >

Re: [fpc-pascal] Build in a C compiler

2016-04-20 Thread Rainer Stratmann
Am Mittwoch, 20. April 2016, 12:40:19 schrieb Mark Morgan Lloyd: > > http://www.mikroe.com/compilers > > If you want to believe that BASIC- as originally implemented- and ALGOL > are related then go ahead and do so. But the politest thing I can say is > that it doesn't make you look particularly w

Re: [fpc-pascal] Build in a C compiler

2016-04-20 Thread Rainer Stratmann
Am Mittwoch, 20. April 2016, 07:05:10 schrieb Mark Morgan Lloyd: > No. Pascal and ALGOL are closely related, C and ALGOL are closely > related. Pascal and C are not so closely related. As you can see here Pascal, C, and Basic are very close related. http://www.mikroe.com/compilers ___

[fpc-pascal] Build in a C compiler

2016-04-19 Thread Rainer Stratmann
That would be great. It is not that difficult. { = begin } = end and the other stuff is quite similar. Pascal and C are close related. It could be made with a compiler switch to determine if the compiler is in the Pascal or in the C compiling mode. No more need to translate (huge amount of)

Re: [fpc-pascal] Lazarus vs MSEgui

2016-04-08 Thread Rainer Stratmann
con of mside why I don't use it: The behaviour of the cursor on the end of the line. You cannot go behind the line as it is usual in almost every other editor. Martin says it is difficult to integrate which I find hard to understand. That behaviour of the cursor confuses me. The other editors

  1   2   3   4   5   6   >