fpc-pascal · 2018-05
- FPC code to migrate Outlook PST file to MBOX format?6
I need to switch away from using Outlook 2003 to something sensible like Thunderbird. But when I do I need to keep my mail archive, which is stored in multiple very big…
- Feature announcement: Dynamic array extensions93
Hello together! I'm pleased to announce that after nearly a year various extensions for dynamic arrays have been finished. This includes the following features: -…
- Realtime and freepascal???11
For a hard real-time project I am considering using freepascal. As this is my first endeavour in real-time I would like to ask the community on their experiences. Is FPC…
- Free e-book: Free Pascal from Square One3
See http://www.contrapositivediary.com/?p=4034 It's by Jeff Duntemann, and based on his 1993 book "Borland Pascal 7 from Square One". Jonas
- השב: Re: Free e-book: Free Pascal from Square One0
נשלח מסמארטפון ה-Samsung Galaxy שלי. <div>-------- הודעה מקורית --------</div><div>מאת: Joost van der Sluis …
- Sets & FPC12
I've got a piece of code which uses TOwnerDrawStateType and TBaseOwnerDrawState which is set of TOwnerDrawStateType , if i have on variable called state which is…
- Privacy statement published.0
As most of you are aware, the servers of FPC (and many of the collaborators of the core team) are located in the EU. The GDPR (General Data Protection Regulation) is in…
- -gw and -O31
What happens when you have both those switches on at the same time? Does the -gw affect the performance or just output information in addition to the optimized…
- Feature announcement: Unicode character constants outside of BMP1
Hello together! Small feature announcement this time, but some might like it nevertheless: FPC now supports unicode character constants that are outside of the Basic…
- Class Helper to implement an Interface2
Can I make a class helper to implements an Interface in an existing class? For example, TStringList class has Find: public function TStringList.Find(const S: string; out…
- Management operators question11
Talking about dynamic arrays I was just curious if we could us the new management operators to make dynamic arrays that are managed on the stack. Here’s a quick demo I…
- Libxml2 - How to get messages on Linux?5
I need to accomplish validate XML files with an XSD. Found libxml in packages and works as expected with Win32. But I have problem with messages on Linux 64bit. Got %s…
- -gw3 produces garbages0
The `-gw3` with `godwarfcpp` flag for lldb produces garbages for string type or any dynamic array types. While `-gw2` only works on string but still failed on any…
- Lazarus Release 1.8.40
The Lazarus team is glad to announce the release of Lazarus 1.8.4. This is a bugfix release. The release was built with FPC 3.0.4. Here is the list of changes for…
- Printing TFPImage to TCairoPSCanvas4
Hi, I need to print an TFPMemoryimage into Printer.Canvas (which uses TCairoPSCanvas to printing to CUPS) from a Linux CGI (no widgetset), but it seems that it's an…
- Dynamic Array, operator +1
Mixing dynamic and static array does not work properly yet. I compiled the following code with the latest trunk of FPC (revision 39062): procedure Ausgabe(a: array of…
- Re: fpc-pascal Digest, Vol 167, Issue 390
The dynamic array constructors sound absolutely wonderful! I have code with rather awkward workarounds that will benefit a lot by these features. /Ingemar
- TJSFloat32Array casting1
Did something change? I just tried this and it didn’t work. Casting “arr” to TJSObject didn’t work either. I could swear that used to work a few days ago. Maybe…
- LongBool True = -15
I am working with some a glib library that expects gboolean to be positive 1 for true, yet FPC emits -1 for true. Is there a compiler flag to force boolean types to emit…
- Anyone know where Blaise Thorne is?0
Has anyone had any contact with Blaise Thorne in the past couple of months? In mid-March he told me he would have an updated version of the closure branch ready in a…
- ExceptProc no longer gets Frames if DLL host uses a different memory manager0
I have a Win64 DLL compiled with FreePascal 2.6.0 in which I install a ExceptProc handler which signature is as follows: procedure MyExceptProc(Obj: TObject; Addr:…
- Undocumented SetLength functionality4
Hi All. I just discovered that SetLength(Var S: Array; NewLength: Integer) has an undocumented (appenrently unlimited number of) overloaded functions. Any multi…
- Currency and Int64 casting6
consider following program: var c: currency; begin c := 1; writeln(c,' ',Int64(c)); readln; end. FPC 3.0.4 On Win32/x86 I get: 1, 1000 (what I am expecting) On…
- pas2js Webgl unit committed49
See subject. Rev 83 in pas2js subversion. I have no experience with webgl, so if someone could provide several examples which I can include in the demo folder of pas2js,…
- Copy dynamic array12
Hi List. This i a real newbie question: I hardly use dynamic array, so I don't know if there is a simpler method to copying a dynamic interger array than the straigh…
- FPC on Android tablets: ARM, x86_645
Has anybody come across https://wiki.termux.com/wiki/Main_Page which I've seen mentioned elsewhere? It's supposedly a Linux environment into which one can install…
- testing if a float has a fractional part7
after all these discussions about the frac function, what is the best way to test if there is a fractional part? That is the most common thing I use frac for I have…
- fpWeb: How can I use heaptrc in standalone mode?15
I'm using fpWeb in standalone mode (fphttpapp unit) to develop and debug. I would like to see the heaptrc log in the end, as we can do in normal desktop applications.…
- FPC on gaming consoles: XBox One, PlayStation 4, Nintendo Switch8
I am wondering about the possibility to port Castle Game Engine to modern gaming consoles. Summary (TL;DR): - Is it possible to use FPC to compile programs/libraries for…
- Feature announcement: default namespaces29
Hello together! I'm pleased to announce the implementation of a new feature: default namespaces. As you may know FPC supports the use of dots/points/periods (".") inside…
- detecting recursive loops2
I'm having an issue with one of my programs that I suspect is being caused by a recursive loop... in simplified form... something like this: Procedure Proc1; Begin Proc2;
- Cross compiling: Win 32 to 641
I have a script for a long time that I use to compile FPC from sources. Today I'm configuring a new machine and I would like to use this script to configure FPC and…
- Re: working with lldb1
Den 2018-05-05 kl. 12:00, skrev Mr Bee : In my experience, AnsiStrings will print with no problems. For example, they print nicely with a command like "fr v" as well as…
- working with lldb0
Is there a way to make LLDB able to read and display Pascal's string correctly? At least, ansi string. I'm now using this option '-glpsw3 -godwarfcpp'. Did I miss some…
- Prorammatically sending file using HTTP POST?15
I have written a Lazarus/FPC program to configure an IoT device via a tcp server I have implemented on the device. It all works well for setting the parameters etc. Now…
- howto print hires-graphics in windows?0
I want to draw simple line graphics both on screen and printer (full page, with ~300dpi). What is the easiest way to achieve this in FreePascal (not Lazarus)? Maybe a…
- Next language feature for pas2js...40
Now that interface support has been added to the list of implemented language features of pas2js, we're looking to get feedback on what best to tackle next. This time,…
- Next language feature for pas2js...1
I found it surprisingly easy to import undefined JavaScript functions working from examples in the interfaces. I believe web.pas was particularly useful. I also made…
