fpc-pascal · 2023-05
- Make a distinct pointer type5
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…
- Freeing memory with exceptions35
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…
- Compile time -> processor benchmark values4
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…
- Size of set.4
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
- VASM upgrade to 1.9 breaks cross compiler build16
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…
- Windows Display Settings1
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…
- Multiple enumerators per class3
Is it possible to have multiple enumerators on one class? Ryan Joseph
- Record Constructors which differ in parameter lists5
let's take the following example: program Project1; {$MODE OBJFPC} {$MODESWITCH ADVANCEDRECORDS} {$MODESWITCH TYPEHELPERS} type TVec3f = record x, y, z: Double;…
- SetFileTime5
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
- Why does RunCommand not produce the correct output?6
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…
- Forking the GitLab FPC Source repository10
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…
