fpc-pascal · 2022-02
- bug or feature?27
This can't be right, can it? type TBird = class procedure Fly; end; TEagle = TBird; // alias procedure TEagle.Fly; begin end; Mattias
- Bit manipulation helpers7
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…
- Caller agnostic procedure variables25
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…
- Sorting a Stringlist on ValueFromIndex3
Is there a quick way to sort a stringlist on it's .ValueFromIndex field instead of it's .Names field? James
- Text Only printing on Windows.4
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…
- Issue with CSVDocument8
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…
- Putting Delimited text into a StringList5
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…
- $PASCALMAINNAME error with SDL/IPhone4
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…
