Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists

fpc-pascal

Subscribe to this list Your subscription

All words must match. Use "exact phrase", -word, -"phrase", from:name, from:"first last", list:fpc-devel, year:2011, before:2012-03, after:2010, in:subject.

Latest threads

  1. Syntax to select constant or variable with function call

    I have several Similar arrays as follows for translating various color schemes into RGB565, I currently have 5 arrays but may add more. ACI256: Array[0..255] of…

    James Richters, Michael Van Canneyt, Ralf Quint
    9
  2. Booleans vs sets

    I have a class that is filling up with booleans. Would it be more efficient to store these as a “set of”? I have 10 bools which is getting up there. Ryan Joseph

    Ryan Joseph, Mattias Gaertner, Michael Van Canneyt
    4
  3. PortAudio writing audio files Windows and MacOS

    I noticed freepascal has some PortAudio related code (AFAICT fredvs has contributed some units here too).. Can portaudio, the cross platform API, be used on macOS? Does…

    Unknown author
    0
  4. Comparison operator for generics

    This is a common pattern I’m finding when working with generics in FPC. In the example below there is an equals comparison that needs to be checked but for some types…

    Ryan Joseph, Maciej Izak, Michael Van Canneyt
    6
  5. Inclocked/declocked

    I was time profiling some code and saw these 2 functions taking up large amounts of time. They’re coming from dynamic arrays and SetLength I believe but I was curious…

    Ryan Joseph, Mark Morgan Lloyd, Sven Barth
    7
  6. Container class for key-value pairs

    since I'm programming Pascal only on occasion I'd like to know: Which container class ist the easiest to use for key-value pairs? The goal is to store a configuration…

    Marc Santhoff, leledumbo, Michael Van Canneyt
    4
  7. Using Serial in a TCP/RS232 gateway, how to set buffer sizes?

    I have created a simple application which relays data from an application I am debugging in Windows7 to/from a remotely located embedded data system. I use the built-in…

    Bo Berglund, el es, José Mejuto
    23
  8. Where and Why is there a memory leak?

    Playing with this small sample application to answer another question in this mailing list, I noticed the sample application has a memory leak. For the life of me I…

    Graeme Geldenhuys, Marcos Douglas B. Santos, Michael Schnell
    19
  9. When to use and not use @?

    Coming from Delphi I am a bit confused about the syntax when dealing with procedure arguments specified as var... In Delphi this is all taken care of by the compiler and…

    Bo Berglund, Michael Van Canneyt
    1
  10. Mantis doesn't contain a 3.0.4 product version

    How are we supposed to report bugs against 3.0.4-rc1 if there is no such Product Version defined in Mantis? Graeme fpGUI Toolkit - a cross-platform GUI toolkit using…

    Graeme Geldenhuys, Michael Van Canneyt
    9
  11. implements

    I think I asked this some years ago but I came across it again I just don’t get what the point of this is. There is an “implements” property but it seems like yet…

    Ryan Joseph, Graeme Geldenhuys, Michael Schnell
    13
  12. Free Pascal 3.0.4-rc1 released!

    We have placed the first release candidate of the Free Pascal Compiler version 3.0.4 on our ftp servers. You can help improve the upcoming 3.0.4 release by downloading…

    Marco van de Voort, Graeme Geldenhuys, Mattias Gaertner
    7
  13. TP compatibility: procedural type

    Hello, all. According to Borland's official language guide to To be used as procedural values, procedures and functions must be declared with a 'far' directive or…

    Anton Shepelev, Karoly Balogh (Charlie/SGR, Marco van de Voort
    15
  14. Agg Pas Arcs

    I'm having an issue with drawing Arcs with AggPas, and I can't quite put my finger on it... What's happening is that small arc segments are just not being drawn...…

    James Richters, Graeme Geldenhuys
    8
  15. H2pas tool vs others, C header translation

    Forgive me, I have forgotten, this may have been discussed before.. Is h2pas the latest tool to convert C headers to pas files? Is there a competing tool that does more,…

    Unknown author, Dmitry Boyarintsev, el es
    39
  16. HTTPS with fphttpclient

    I'd like to make a request to a HTTPS address with TfpHTTPClient but am getting an unknown protocol error. I'm running fpc 2.6.4 on Rasbian 8 (Jessie) on a Pi 3. Here's…

    kristakis, Michael Van Canneyt
    1
  17. FPHTTPClient OpenSSL implementation

    For years I'm working with synapse (Ararat) with OpenSSL and there  is same openssl.pas lib. So problem is with: in InitSSLInterface:     if assigned(_RandScreen)…

    Pavol Stugel, Michael Van Canneyt
    2
  18. Freepascal Floating Point Issue

    I am having an issue with a simple floating point application. I am setting a variable to a specific value and immediately after I set it, it is not exactly what I set…

    James Richters, Benito van der Zander, Bernd Oppolzer
    37
  19. sending new parameters to existing instance

    I have a windows console application I wrote with Freepascal. I can send it a command line parameter for a file to use have it working so if I just double click on…

    James Richters, Luca Olivetti, Unknown author
    4
  20. ExtractRelativePath() not always returning expected result

    I’m trying to figure out ExtractRelativePath() and I’ve run the sample program found here: https://www.freepascal.org/docs-html/rtl/sysutils/extractrelativepath.html…

    James Richters, Michael Van Canneyt
    4
  21. Inline ASM code

    I need store result of floating point calculation (in my example arctan()) in memory pointed by some variable. See this code: var a: single; pa: PSingle; asm fild dy…

    LacaK, Karoly Balogh (Charlie/SGR, Sven Barth
    3
  22. Check In Interface Type Helpers

    I just wanted to point out that revision 37023 Sven added type helper support for interfaces. Good job and thank you Sven!

    Anthony Walter, Marcos Douglas B. Santos, Michael Van Canneyt
    21
  23. StringOfChar for Unicode/Widestring

    Do we have a StringOfChar function for UnicodeString/WideString in FreePascal? I could not find it in 3.0.4RC1 (which may tell you more about me that fpc). Bart

    Bart
    1
  24. fpReport released

    A long time wait. But it finally made it: fpreport has been committed to FPC SVN: packages/fcl-report. It should compile on windows, linux, freebsd and darwin. Features…

    Michael Van Canneyt, Graeme Geldenhuys, leledumbo
    3
  25. TStringHelper missing

    I’m trying to split a string by a delimiter and see there is a type helper called TStringHelper (https://www.freepascal.org/docs-html/rtl/sysutils/tstringhelper.html).…

    Ryan Joseph, Michael Van Canneyt, Sven Barth
    3
  26. Super Large Integer Math Calculations

    For integers beyond 64 bit, or even beyond 32 bit on a 64 bit machine, why can't the math be broken down into peices the way a human does it on paper, and then…

    Unknown author, Bart, Ingemar Ragnemalm
    10
  27. Serial communications: synaser vs FPC's serial unit

    If somebody with more experience (than me) with the Synaser and FPC serial.pp units could comment, that would be much appreciated. For a new cross-platform project where…

    Graeme Geldenhuys, Christo Crause, Fabio Luis Girardi
    10
  28. Defining sonames?

    MSEgui uses xlib by the units in packages/x11. The linker searches for libX11.so which is not installed on most systems by default so one has to install the libx11 devel…

    Martin Schreiber, Benito van der Zander, Fred van Stappen
    33
  29. Pascal support in the Kattis educational site

    A bit of news which I think has some interest here: "Kattis" (open.kattis.com) is a site where students can make programming exercises. This is quite important IMHO;…

    Ingemar Ragnemalm, Graeme Geldenhuys, James Richters
    3
  30. Proposed tidy-up of the FPC Manual section on Character Types and the FPC Wiki

    There has been some heated discussion on the Lazarus lists on the subject to character encodings etc. This has exposed several issues with the FPC Manual that I wanted…

    Tony Whyman, Graeme Geldenhuys, Mark Morgan Lloyd
    3

Browse by month

2026
2025
2024
2023
2022
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
2011
2010
2009
2008
2007
2006
2005
2004
2003
2002
2001
2000
1999