fpc-pascal
Subscribe to this list Your subscription
Latest threads
- question on generics for 3.2.22
Was trying to code a recursive generic function but kept getting an error: "Error: Global Generic template references static symtable A generic declared in the interface…
- Record Composition4
Thanks to Frederic Kehrein FPC main now supports Record Composition: A record can now "contain" another record and have that record's members appear as its own. Firstly…
- looks like a bug6
I set a small array and the program below is ok to go out of bounds. — program test; type tarr = array of array of boolean; var exa : tarr =…
- ANN: Dynamic Package Support for Windows, MacOS, and Linux7
I am pleased to announce the first release of full dynamic package support for the Free Pascal Compiler and the Lazarus IDE. This feature has been a long time coming for…
- Symbols in binary1
Consider the following test program: program symbols; var stat: TFPCHeapStatus; begin stat := GetFPCHeapStatus; writeln( 'FPC FPCHeapStatus.CurrHeapUsed = ',…
- Unexpected warning messages...7
I've started working with FPC again after a VERY long hiatus (like 15+ years!) and the application I'm working on uses TObjectCollection from the Generics.Collection…
- Lazarus Release Candidate 1 of 5.00
The Lazarus team is glad to announce the first release candidate of Lazarus 5.0. https://lazarus-ide.org/ Download: https://download.lazarus-ide.org/ Choose your CPU,…
- FPC's google API units: heads up...4
For those using the google APIs part of FPC: I have removed all pre-generated API units from the FPC repo. Only a discovery2pas tool remains, plus some demos. Rationale:…
- Statement Expressions3
FPC trunk (3.3.1) now supports statement expressions. You can use if, case and try..except as expressions that return a value. Big thanks to Frederic Kehrein who…
- "Type Of" operator0
fpc now supports the "type of" operator - a compile time operator which returns the type of a variable, const, argument, property, function result or derived types. It…
- is not and not in0
fpc main now supports "not in" and "is not": They can be enabled with $modeswitch ReorderedOperators and are enabled by default in mode delphi and delphiunicode.…
- FPC 3.2.4 RC2 published5
We published an RC2 for Free Pascal 3.2.4. This is a bugfix release, although some features have been backported, mostly in RTL and Packages. A (partial) list of fixed…
- Formatting negative zero floating point numbers2
I have a free pascal and a C program that both generate numeric output in text format. I expect both programs to produce the same output and I automatically verify that…
- New in FPC: SVG support.1
FPC for a long time had support for raster images in fcl-image. It now has support for what is probably the most used vector image today: SVG. Support is broad: - All…
- Websocket29
I'd like to discuss fpwebsocket and fpwebsocketclient. Is this the right forum for that?
- FindFirst/FindNex question6
Just curious. Given a situation where FindFirst/FindNext returns 0 (=succes), under which circumstance can the TSearchRec.Name become an empty string? I'm asking because…
- Arduino project9
Maybe someone could advise me as to what Arduino hardware is best supported by FreePascal. My project has the following requirements 1. Read an absolute rotary encoder…
- Is gotoxy in 3.2.4-rc2 broken ?4
I tested RC2 of 3.2.4 and all seems to be right except two things: - Well working on 3.2.2 a program heavily using gotoxy to manage text window fail to write at the…
- Docs - structural change15
It always bothered me that it is cumbersome to navigate the docs - the standard tex4ht mechanism is too bare-bones. So I added some postprocessing to add a (optional)…
- Docs style update16
In an effort to improve the readability of the online docs, I've instructed Claude to create various CSS styles for the documentation. You can view the 3 which I…
- How do I use libcurl in order to access sftp server?0
I have an FPC/Lazarus application that interfaces to a website in order to update user logins and customer accessible files etc. It is written 10+ years ago and uses…
- Setting up FPC to cross compile for the AVR, MSP430 and native mode.2
I would like to cross compile Pascal to the AVR microcontroller series. My specific target is the AVR64DU32, but would want to be able to compile to other AVR…
- Preview: New Website layout41
For the upcoming 3.2.4 release, we will also update the website. You can have a sneak preview at https://www.freepascal.org/_new/ If you spot omissions or wrong info,…
- TStringHelper and Utf8String14
I love the helper functions from SysUtils' `TStringHelper`. Unfortunately, they're only available for `String`, but not for other types like `Utf8String` or…
- TUI library10
So video+keyboard is no longer reliable, crt is a mess, FreeVision is a nightmare...can anybody point me to a fpc TUI library that works and is at least somewhat…
- Free Vision6
Since crt and video are both terrible, I decided to , looking into FreeVision is proving difficult, due to the absolute lack of any documentation online! The wiki says…
- Installing from trunk1
I cloned the main/trunk from gitlab, ran 'make all' and ‘make install' as instructed. The installed libraries are in /usr/local/lib tree with names that indicate they…
- TermStyle colorful, styled output for CLI applications0
I saw Mattias' announcement and that made me remember I also made a CSS inspired lib for FPC earlier. TermStyle brings colorful, styled output to CLI applications with…
- Fresnel announcement2
I am excited to announce a milestone for Fresnel - a modern GUI component library for Free Pascal that brings web-like layout styling to desktop applications. After a…
- Asynchronous (out-of-process) assembly0
I implemented an option for asynchronous (out-of-process) assembly. On Darwin, this makes building for me about 25% faster. With the llvm compiler and -O3, I get about…
