Hi.
> The SDL2 documentation recommends you to register constants with:
>
> Uint32 SDL_RegisterEvents(int numevents);
>numevents = the number of events to be allocated.
>Returns the beginning event number, or (Uint32)-1 if there are not
> enough user-defined events left.
>
> The SDL_Regi
El Sun, 25 Jun 2023 13:42:00 -0300
Rafael Picanço via fpc-pascal
escribió:
> Thanks Guilhermo,
You welcome. :)
>
> Just to clarify, I do have a limited number of events. Lets say, 2
> events. So, using the SDL_RegisterEvents function, is it possible to
> define these two new events as normal co
Hi,
I'm not sure but I think that CPU caches (L1, L2...) have some impact
on this example. Also I think PChar assignation should use string
copy instead (Strings.strcopy). Not time to do my own tests right now
though u_u) .
Regards,
Guillermo "Ñuño" Martínez
El Tue, 4 Jul 2023 11:46:42 +0700
H
Hi Pascaloids,
I'm wondering if it is possible to make FPC detect and warn (or even
stop compillation when) it has detect a nested comment. That's because
I'm using Vim and it closes odd comments. For example, the nex code:
{ This comment isn't closed. *)
DoSomething ();
{ This is a nested co
El Sun, 21 Jan 2024 17:12:05 +0100
Tomas Hajny via fpc-pascal escribió:
> Well, I guess that you use mode Delphi, because warning about nested
> comments and even an error in your case (due to nested comment not
> closed) is already issued by default. So the very simple solution is
> using e.g
El Sun, 21 Jan 2024 17:27:15 +0100
Adriaan van Os via fpc-pascal
escribió:
>
> ($modeswitch nestedcomments-}
>
I didn't know about this switch. Thanks, maybe I can use it.
Guillermo Martínez J.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.
Hi Pascaloids,
I was looking for the FP IDE sources to check how it renders the ASCII
table and manage the mouse input, but I'm not able to find them.
They're not in GitLab, not in the source packages, not in the download
pages. Lazarus Wiki has two pages "Textmode IDE" and "Textmode IDE
developme
Thanks, Karoly and Marco.
I thought "packages" were libraries not applications, as there is an
"utils" directory with programs.
Thankyou again,
Guillermo Martínez.
El Wed, 13 Mar 2024 22:45:19 +0100
Marco van de Voort via fpc-pascal
escribió:
> Op 13-3-2024 om 21:34 schreef Karoly Balogh via fp
Prease DON'T add garbage collector. IMO it isn't a good idea. I had
very bad experiences with it. Unless somebody found a new magic
algorithm in the last decade...
El Wed, 16 Oct 2024 04:49:44 -0700
Hairy Pixels via fpc-pascal escribió:
> On Oct 16, 2024 at 4:44:35 PM, Nikolay Nikolov via fpc-p
Use FPC from command line is easy if you're not using the LCL (the
Lazarus Component Library).
If you're using the LCL they explained in the other answers, but if you
just use the RTL then the easiest way is just calling FPC from the
same directory you have the sources:
~$ fpc theprogram
That wi
Seeing the error line (FItems: ^TArray;) I think it's fpdoc's
fault. Seems that it doesn't recognize it as a specialization and gets
confused by finding a '<' character out of place (from it's point of
view).
El Fri, 7 Feb 2025 11:05:01 -0800
ppadilcdx--- via fpc-pascal escribió:
> Was trying
11 matches
Mail list logo