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. Undocumented SetLength functionality

    Hi All. I just discovered that SetLength(Var S: Array; NewLength: Integer) has an undocumented (appenrently unlimited number of) overloaded functions. Any multi…

    Torsten Bonde Christiansen, Michael Van Canneyt, Sven Barth
    4
  2. Currency and Int64 casting

    consider following program: var c: currency; begin c := 1; writeln(c,' ',Int64(c)); readln; end. FPC 3.0.4 On Win32/x86 I get: 1, 1000 (what I am expecting) On…

    LacaK, Vojtěch Čihák
    6
  3. pas2js Webgl unit committed

    See subject. Rev 83 in pas2js subversion. I have no experience with webgl, so if someone could provide several examples which I can include in the demo folder of pas2js,…

    Michael Van Canneyt, Joost van der Sluis, Mattias Gaertner
    49
  4. Copy dynamic array

    Hi List. This i a real newbie question: I hardly use dynamic array, so I don't know if there is a simpler method to copying a dynamic interger array than the straigh…

    Torsten Bonde Christiansen, Alexander Grotewohl, Bart
    12
  5. FPC on Android tablets: ARM, x86_64

    Has anybody come across https://wiki.termux.com/wiki/Main_Page which I've seen mentioned elsewhere? It's supposedly a Linux environment into which one can install…

    Mark Morgan Lloyd, Alexander Grotewohl, leledumbo
    5
  6. testing if a float has a fractional part

    after all these discussions about the frac function, what is the best way to test if there is a fractional part? That is the most common thing I use frac for I have…

    Benito van der Zander, Bart, Florian Klämpfl
    7
  7. fpWeb: How can I use heaptrc in standalone mode?

    I'm using fpWeb in standalone mode (fphttpapp unit) to develop and debug. I would like to see the heaptrc log in the end, as we can do in normal desktop applications.…

    Marcos Douglas B. Santos, leledumbo, Michael Van Canneyt
    15
  8. FPC on gaming consoles: XBox One, PlayStation 4, Nintendo Switch

    I am wondering about the possibility to port Castle Game Engine to modern gaming consoles. Summary (TL;DR): - Is it possible to use FPC to compile programs/libraries for…

    Michalis Kamburelis, Dmitry Boyarintsev, Marco van de Voort
    8
  9. Feature announcement: default namespaces

    Hello together! I'm pleased to announce the implementation of a new feature: default namespaces. As you may know FPC supports the use of dots/points/periods (".") inside…

    Sven Barth, Ben Grasset, Graeme Geldenhuys
    29
  10. detecting recursive loops

    I'm having an issue with one of my programs that I suspect is being caused by a recursive loop... in simplified form... something like this: Procedure Proc1; Begin Proc2;

    James Richters, leledumbo, Mark Morgan Lloyd
    2
  11. Cross compiling: Win 32 to 64

    I have a script for a long time that I use to compile FPC from sources. Today I'm configuring a new machine and I would like to use this script to configure FPC and…

    Marcos Douglas B. Santos
    1
  12. Re: working with lldb

    Den 2018-05-05 kl. 12:00, skrev Mr Bee : In my experience, AnsiStrings will print with no problems. For example, they print nicely with a command like "fr v" as well as…

    Ingemar Ragnemalm, Mr Bee
    1
  13. working with lldb

    Is there a way to make LLDB able to read and display Pascal's string correctly? At least, ansi string. I'm now using this option '-glpsw3 -godwarfcpp'. Did I miss some…

    Mr Bee
    0
  14. Prorammatically sending file using HTTP POST?

    I have written a Lazarus/FPC program to configure an IoT device via a tcp server I have implemented on the device. It all works well for setting the parameters etc. Now…

    Bo Berglund, Alexander Grotewohl, Anthony Walter
    15
  15. howto print hires-graphics in windows?

    I want to draw simple line graphics both on screen and printer (full page, with ~300dpi). What is the easiest way to achieve this in FreePascal (not Lazarus)? Maybe a…

    Klaus Hartnegg
    0
  16. Next language feature for pas2js...

    Now that interface support has been added to the list of implemented language features of pas2js, we're looking to get feedback on what best to tackle next. This time,…

    Michael Van Canneyt, Benito van der Zander, Ingemar Ragnemalm
    40
  17. Next language feature for pas2js...

    I found it surprisingly easy to import undefined JavaScript functions working from examples in the interfaces. I believe web.pas was particularly useful. I also made…

    Ingemar Ragnemalm, Michael Van Canneyt
    1
  18. Locale question

    I have a text file, containing '£' characters, that file -bi reports as text/plain; charset=utf-8 When I try to write a simple pascal program to edit this file using…

    Richard Kimber
    0
  19. Stack alias for ARC like memory management?

    I had another idea and I was just curious what anyone thought about it. Between C++ where classes can either be on the stack or heap and full ARC like in Swift/Java FPC…

    Ryan Joseph, Adrian Veith, Alexander Grotewohl
    39
  20. Blowfish encryption: What I´m doing wrong?

    Hello guys I´ve a single code to encrypt/decrypt strings using Blowfish. function TBlowFishCripto.Encrypt(const Value: string): string; var en: TBlowFishEncryptStream;…

    Guionardo Furlan, Michael Van Canneyt, Peter
    2
  21. Multiple active class helpers at same time

    I am sure that this was already discussed, but I can not find any conclusion. Is planned support for multiple class(objet, record) helpers in a way, that all class…

    LacaK, Maciej Izak, Marco van de Voort
    17
  22. Read comments via fcl-passrc

    while working with fcl-passrc I search for a possibility to get the comments of a source file in the parsed tree. I found TPasTreeContainer.NeedComments but it does…

    Michael Fuchs, Mattias Gaertner, Michael Van Canneyt
    5
  23. pointerful

    Is this a bug or a feature: type Pint = ^int; int = PInt; ? Mattias

    Mattias Gaertner, Alexander Grotewohl, Bernd Oppolzer
    4
  24. Where to download OpenSSL (for windows 64 bit) that is used by fphttpclient

    According to http://wiki.lazarus.freepascal.org/fphttpclient, I need the openssl library if I want to use fphttpclient for https://www.yahoo.com/ From the wiki, it went…

    Dennis, Alexander Grotewohl, Rik van Kekem
    2
  25. Using constants instead of comments

    I have a whole section of diagnostic writeln's in a program, and it's tedious to comment them all out/in as needed. I'm curious if doing something like Const…

    James Richters, Giuliano Colla, Mark Morgan Lloyd
    6
  26. compile time init'ing records

    It’s a real pain setting default values for records in Pascal at compile time. Every other language seems to get this right but it’s a constant issue in Pascal. The…

    Ryan Joseph, Maciej Izak, Marco van de Voort
    8
  27. The unfortunate deprecation of GetTickCount

    GetTickCount has been deprecated in favor of GetTickCount64, which gives a qword result and so it "solves" the wrap-arount to 0 of the tick after 49.7 days, so one…

    Luca Olivetti, Alexander Grotewohl, Graeme Geldenhuys
    20
  28. Proposal for new Free Pascal logo

    These days, most modern programming languages have its own logo. The logo becomes a "brand", a unique visual identity for the language. It also acts as a "trademark", a…

    Mr Bee, Bart, Ben Grasset
    29
  29. 0030208: "not" doesn't work properly on bitpacked booleans

    I was going to report a bug but I see it's already fixed https://bugs.freepascal.org/view.php?id=30208 however it's still there in 3.0.4, released a year and a half…

    Luca Olivetti, Unknown author
    3
  30. Inline scoped enums

    How can this code {$scopedenums on} type Bar = set of (A, B, C); refer to A, B, C?

    Роман, Alexander Grotewohl, Mattias Gaertner
    5

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