Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2023-05

  1. Make a distinct pointer type

    What's the best way to make a pointer type which is distinct so that the following snippet would give an error. I thought "type pointer" would do it but it doesn't seem…

    Hairy Pixels, Michael Van Canneyt, Sven Barth
    5
  2. Freeing memory with exceptions

    I've never really used exceptions myself in Pascal (with the exception of breaking out of deeply recursive function calls) so I don't know all the rules. In this example…

    Hairy Pixels, Benito van der Zander, Marco van de Voort
    35
  3. Compile time -> processor benchmark values

    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…

    Rainer Stratmann, Hairy Pixels, Marco van de Voort
    4
  4. Size of set.

    basic questions here. Is there any way to decide the number of elements in a set? there any way to traverse the elements in a set? Regards Mikael

    Mikael Backman, Bart, James Richters
    4
  5. VASM upgrade to 1.9 breaks cross compiler build

    Good Afternoon. After a long break, I decided to start work/play on the Sinclair QL FPC cross compiler. I noticed that using any release of the vasm assembler, from 1.9…

    Norman Dunbar, Derek, Karoly Balogh
    16
  6. Windows Display Settings

    Is there some way with FreePascal that I can Get / Set the windows display settings for multiple monitors like their resolutions, portrait/landscape, scale factors, and…

    James Richters, Ondrej Pokorny
    1
  7. Multiple enumerators per class

    Is it possible to have multiple enumerators on one class? Ryan Joseph

    Hairy Pixels, Marco van de Voort, Thomas Kurz
    3
  8. Record Constructors which differ in parameter lists

    let's take the following example: program Project1; {$MODE OBJFPC} {$MODESWITCH ADVANCEDRECORDS} {$MODESWITCH TYPEHELPERS} type TVec3f = record x, y, z: Double;…

    Thomas Kurz, Michael Van Canneyt
    5
  9. SetFileTime

    I am trying to change the file date on a SYMLINK (not the file that the link points to). Does anyone know if there is a method for this under Windows. Carsten

    Carsten Bager, Giuliano Colla, José Mejuto
    5
  10. Why does RunCommand not produce the correct output?

    I am trying to create a function to list the available serial ports on a Linux device. But I have trouble getting commands which work on a terminal to also work when run…

    Bo Berglund, Jean SUZINEAU, Unknown author
    6
  11. Forking the GitLab FPC Source repository

    Good Afternoon All. I'm attempting to fork the FPC Source repository on GitLab so that I can occasionally make some updates to the M68K Sinclair QL cross compiler RTL…

    Norman Dunbar, Christo Crause, Graeme Geldenhuys
    10