Re: [fpc-pascal] FP IDE sources

2024-03-14 Thread Guillermo Martínez Jiménez via fpc-pascal
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

[fpc-pascal] FP IDE sources

2024-03-13 Thread Guillermo Martínez Jiménez via fpc-pascal
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

Re: [fpc-pascal] Nested comments.

2024-01-22 Thread Guillermo Martínez Jiménez via fpc-pascal
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 -

Re: [fpc-pascal] Nested comments.

2024-01-22 Thread Guillermo Martínez Jiménez via fpc-pascal
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

[fpc-pascal] Nested comments.

2024-01-21 Thread Guillermo Martínez Jiménez via fpc-pascal
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

Re: [fpc-pascal] ShortString still relevant today?

2023-07-04 Thread Guillermo Martínez Jiménez via fpc-pascal
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

Re: [fpc-pascal] SDL2 Event Registration (and case statements)

2023-06-27 Thread Guillermo Martínez Jiménez via fpc-pascal
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

Re: [fpc-pascal] SDL2 Event Registration (and case statements)

2023-06-25 Thread Guillermo Martínez Jiménez via fpc-pascal
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