Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2022-12

  1. Open array in object constructor gives error

    Why is using the open array parameter illegal using the Object type? ======================== {$mode objfpc} program test; type TMyObject = object constructor…

    Hairy Pixels, Marc Weustink, Mattias Gaertner
    14
  2. Local Type T and generics

      I have local type TTempItem, i.e. declared inside method of a generic class. When I write: type       TTempItem = record        Item: T;        Empty:…

    Vojtěch Čihák, Sven Barth
    2
  3. Programming Pascal using an AI Chatbot

    The following page hosts a series of Pascal programming questions I asked an AI chatbot system while testing its abilities. https://www.getlazarus.org/aichatbot

    Anthony Walter, Dwight Schauer, Hairy Pixels
    13
  4. Working on a new way to educate people about pascal

    I had a new idea for an interface design to help people who either are not into programming yet or have only used a language other than Free Pascal. Please see this…

    Anthony Walter, Adriaan van Os, Anthony Youngman
    42
  5. Generic threadlist

    Hi, I made a generic threadlist for the unit fgl. I'm wondering what is the opinion on stuff like that. Specifically it's T: TObject and not for "pointers." I had made…

    Andrew Haines
    0
  6. fcl-web websocket

    I am trying to test the websocket client in fcl-web by making a simple echo client. I have been unable to make it work using fpc trunk on linux64. I also crosscompiled…

    Andrew Haines, Michael Van Canneyt
    9
  7. Unrelated type helpers with the same members? Implement an interface with a type helper?

    Hi what I want to do is similar to this question here: https://en.delphipraxis.net/topic/423-rtti-determine-record-helper-type-for-a-base-type/ I am going to create…

    Andrew Haines, Michael Van Canneyt, Ondrej Pokorny
    10
  8. SqlDB TSQLQuery sqoAutoApplyUpdates does not work with ExecSQL

    On MSSQL i use a stroed procedure to count a value in a table and use the following statement in Lazarus I must extra write an ApplyUpdates, because the…

    Andreas Frieß, Andi Friess, Michael Van Canneyt
    9
  9. debugserver and dbugintf

    I'm using FPC 3.2.2 as installed with Lazarus 2.2.4. I'm using the debugserver/dbugintf for some time and implemented some small changes to improve this duo. The files…

    Rolf Wetjen, Michael Van Canneyt
    1
  10. 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