Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2022-02

  1. bug or feature?

    This can't be right, can it? type TBird = class procedure Fly; end; TEagle = TBird; // alias procedure TEagle.Fly; begin end; Mattias

    Mattias Gaertner, Alexey Torgashin, Elmar Haneke
    27
  2. Bit manipulation helpers

    I tried to use the bit helpers like https://www.freepascal.org/docs-html/rtl/sysutils/twordhelper.testbit.html but the bit to test is 0..15. I expected this to work…

    Ryan Joseph, gabor, Mattias Gaertner
    7
  3. Caller agnostic procedure variables

    This has been a constant problem for me with FPC and wanted to make a formal post with code examples since I've only mentioned it in passing before. How can it be…

    Ryan Joseph, Adriaan van Os, Michael Van Canneyt
    25
  4. Sorting a Stringlist on ValueFromIndex

    Is there a quick way to sort a stringlist on it's .ValueFromIndex field instead of it's .Names field? James

    James Richters, Michael Van Canneyt
    3
  5. Text Only printing on Windows.

    Way back in the old Turbo Pascal days, it was super simple to send text to a printer. I had written a program that printed text on labels in the order the labels were…

    James Richters, Alexander Grotewohl, LacaK
    4
  6. Issue with CSVDocument

    I have CSVDocument working, but something odd is happening. Everything is coming out as I expect, Except for the first cell.. it has some garbage at the beginning of it…

    James Richters, Bart, Michael Van Canneyt
    8
  7. Putting Delimited text into a StringList

    I'm trying to get Comma Delimited Text from a CSV File created with Microsoft Excel into a string list, but I keep getting spaces as delimiter characters. How can I…

    James Richters, Michael Van Canneyt, Tomas Hajny
    5
  8. $PASCALMAINNAME error with SDL/IPhone

    I thought I had this working some years ago but I'm confused again. :) When trying to use SDL on iPhone I include: {$PASCALMAINNAME SDL_main} But when I compile I get a…

    Ryan Joseph, Jonas Maebe
    4