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

2023-06-21 Thread Rafael Picanço 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. https://wiki.libsdl.org/SDL2/

Re: [fpc-pascal] Legitimate use of for and break

2023-06-21 Thread wkitty42--- via fpc-pascal
On 6/20/23 10:54 PM, Steve Litt via fpc-pascal wrote: It was a long time ago, but if I remember correctly the Whitesmith Pascal and Turbo Pascal 2 and 3 had either break or continue. If I remember correctly, I first learned about those when learning C. i'm confused about your statement... first

[fpc-pascal] EyeLink-for-Pascal

2023-06-21 Thread Rafael Picanço via fpc-pascal
Hi everyone! I am sharing my free pascal bindings for eyelink headers. https://github.com/cpicanco/EyeLink-for-Pascal If you find it useful, please let me know. Best, R ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepasc

Re: [fpc-pascal] Legitimate use of for and break

2023-06-21 Thread Steve Litt via fpc-pascal
wkitty42--- via fpc-pascal said on Wed, 21 Jun 2023 08:07:59 -0400 >On 6/20/23 10:54 PM, Steve Litt via fpc-pascal wrote: >> It was a long time ago, but if I remember correctly the >> Whitesmith Pascal and Turbo Pascal 2 and 3 had either break or >> continue. If I remember correctly, I first learn