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

Rafael Picanço cpicanco42 at gmail.com
Sun Jun 25 18:42:00 CEST 2023


Thanks Guilhermo,

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 constants so they will be known at compile time
and will make Free Pascal case statements happy?

Best,
R
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20230625/c9a4b1e9/attachment.htm>


More information about the fpc-pascal mailing list