El Sun, 25 Jun 2023 13:42:00 -0300
Rafael Picanço via fpc-pascal <fpc-pascal@lists.freepascal.org>
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 constants so they will be known
> at compile time and will make Free Pascal case statements happy?

Yes, you can.  But be careful that no other events are registered before
yours.

> 
> Best,
> R

Regards,
Guillermo Martínez

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to