Re: [fpc-pascal] Virtual methods on sealed classes

2024-01-08 Thread Michael Van Canneyt via fpc-pascal
On Tue, 9 Jan 2024, Hairy Pixels via fpc-pascal wrote: Do sealed classes actually call virtual methods statically or are they just for compiler warnings? The virtual methods are called exactly like other virtual methods. Sealed just means you cannot create a descendant class. No

[fpc-pascal] Virtual methods on sealed classes

2024-01-08 Thread Hairy Pixels via fpc-pascal
Do sealed classes actually call virtual methods statically or are they just for compiler warnings? Regards, Ryan Joseph ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] FPReport: Split text across two or more pages

2024-01-08 Thread Michael Van Canneyt via fpc-pascal
On Mon, 8 Jan 2024, Pique7 via fpc-pascal wrote: Disregarding the RTF for a moment, you'd need to save the contents of the text fields in a TStringlist instance in the 'afterscroll' event of the dataset. This instance can then be used to create a data loop for a sub band (using

Re: [fpc-pascal] What's in Hello World

2024-01-08 Thread Marco van de Voort via fpc-pascal
Op 7-1-2024 om 16:09 schreef Travis Siegel via fpc-pascal: Not that it's 100 percent relevant, but I always use powerbasic (https://www.powerbasic.com) when it's a matter of size, I also never use powerbasic. ___ fpc-pascal maillist -

Re: [fpc-pascal] What's in Hello World

2024-01-08 Thread Travis Siegel via fpc-pascal
On 1/7/2024 1:09 PM, Florian Klämpfl via fpc-pascal wrote: Am 07.01.2024 um 13:21 schrieb Ingemar Ragnemalm via fpc-pascal : Just for comparison, I fired up Think Pascal and made Hello world! Plain Hello world, closes so quickly that you don't have time to see it: 4625 bytes. Including

Re: [fpc-pascal] What's in Hello World

2024-01-08 Thread Travis Siegel via fpc-pascal
For what it's worth, the hello world program in powerbasic (https://www.powerbasic.com) comes to a whooping 7,168 bytes. That's the console version, not the gui version, that's a bit bigger, but by not much more.  I have an epub reader I've been working on for a few years, on and off, and that

Re: [fpc-pascal] FPReport: Split text across two or more pages

2024-01-08 Thread Pique7 via fpc-pascal
On Wed, 3 Jan 2024 13:00:10 +0100 (CET) Michael Van Canneyt via fpc-pascal wrote: > > > On Tue, 2 Jan 2024, Pique7 via fpc-pascal wrote: > > > On Tue, 2 Jan 2024 00:02:35 +0100 (CET) > > Michael Van Canneyt via fpc-pascal wrote: > > > >> > >> > >> On Mon, 1 Jan 2024, Pique7 via fpc-pascal

Re: [fpc-pascal] What's in Hello World

2024-01-08 Thread Jean SUZINEAU via fpc-pascal
Le 08/01/2024 à 13:51, Peter B via fpc-pascal a écrit :    or if not, is there another way to turn it on in the textmode IDE? No idea. Its easy enough if you compile from the command line. fpc -Os -XX hello.pas If stripping is not on by default, also use -Xs I guess that in the textmode IDE

Re: [fpc-pascal] What's in Hello World

2024-01-08 Thread Karoly Balogh via fpc-pascal
Hi, On Mon, 8 Jan 2024, Marco van de Voort via fpc-pascal wrote: > > Op 8-1-2024 om 14:03 schreef Karoly Balogh via fpc-pascal: > > No, it's not. But the Linker specific options are under Options -> > > Linker... There's a smartlinking related option there, but I'm not sure if > > it is what you

Re: [fpc-pascal] What's in Hello World

2024-01-08 Thread Marco van de Voort via fpc-pascal
Op 8-1-2024 om 14:03 schreef Karoly Balogh via fpc-pascal: No, it's not. But the Linker specific options are under Options -> Linker... There's a smartlinking related option there, but I'm not sure if it is what you need. :) That one is -XX, and the "create smartlinkable units" in the tab

Re: [fpc-pascal] What's in Hello World

2024-01-08 Thread code dz via fpc-pascal
I remember i made a simple win32 window app with custom tiny RTL , and final exe size was 4.5kb . On Sun, Jan 7, 2024, 20:33 Michael Van Canneyt via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > > > On Sun, 7 Jan 2024, Sven Barth via fpc-pascal wrote: > > >>> > >>> - FPC compiled as

Re: [fpc-pascal] What's in Hello World

2024-01-08 Thread Karoly Balogh via fpc-pascal
Hi, On Sun, 7 Jan 2024, James Richters via fpc-pascal wrote: > >Try building with smartlinking, -XX > > I never knew there was an option for smartlinking. I'm using the FPC text > IDE, I see various options like > Generate Smaller Code, and level 1, 2, and 3 optimizations, but I don't see >

Re: [fpc-pascal] What's in Hello World

2024-01-08 Thread Peter B via fpc-pascal
On 07/01/2024 16:07, James Richters via fpc-pascal wrote: Try building with smartlinking, -XX I never knew there was an option for smartlinking. I'm using the FPC text IDE, I see various options like Generate Smaller Code, and level 1, 2, and 3 optimizations, but I don't see anything