Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2022-11

  1. How to inline CompareFunc to Sort method in generic abstract class

      I wrote a generic abstract class - a list based on dynamic array (i.e. array of T;) and this class can be specialized elsewhere with any type (records or classes).…

    Vojtěch Čihák, Adrian Veith, Flávio Etrusco
    10
  2. Program efficiency

    I was wondering if breaking up large complicated formulas into smaller sections that use more variables is less efficient than just the large formula. In other words.. is

    James Richters, DougC, geneb
    8
  3. Strange floating-point result

    by chance, I stumbled upon a strange behavior in floating-point calculation. Here's the example: program Project1; var f: double; n: integer = 1758; m: integer = 0; begin

    Thomas Kurz, Jonas Maebe
    2
  4. GStreamer API unit added

    For all people interested in sound/video streaming: After lots of work, I added the gst unit to the FPC packages. This unit contains the import declarations for the full…

    Michael Van Canneyt, Aruna Hewapathirane, Marco van de Voort
    3
  5. Test

    Test, please ignore . Dimitrios Chr. Ioannidis

    Dimitrios Chr. Ioannidis
    0
  6. Can't build single package

    IIRC I did it in the past but now: D:\fpc-3.2.2\packages\fcl-web>make C:/FPC/3.2.2/bin/i386-Win32/ppc386.exe fpmake.pp -n -Fu../../rtl -Fu../../packages/paszlib…

    Luca Olivetti, Tomas Hajny
    7
  7. Play audio on windows

    I’m trying to port a Mac program to Windows. Which is the preferred low-level API to use which FPC includes units for (if any)? It would be nice to set volume and…

    Hairy Pixels
    0