Is there a range of numbers that can safely be used for user-defined Event Types? Up to 1000 numbers should be sufficient.
We want to be sure that our own event types don't conflict with the built-in PB event types.
Thanks
5.10b1 - a question about the new PostEvent() command
-
- Enthusiast
- Posts: 542
- Joined: Tue Apr 24, 2012 5:08 pm
- Location: Ontario, Canada
5.10b1 - a question about the new PostEvent() command
For ten years Caesar ruled with an iron hand, then with a wooden foot, and finally with a piece of string.
~ Spike Milligan
~ Spike Milligan
Re: 5.10b1 - a question about the new PostEvent() command
You should use an event number higher than 65536 to be on the safe side. We will provide a #PB_Event_FirstUserEvent constant for that, so you can use it as an enumeration start.
-
- Enthusiast
- Posts: 542
- Joined: Tue Apr 24, 2012 5:08 pm
- Location: Ontario, Canada
Re: 5.10b1 - a question about the new PostEvent() command
Thanks Fred, that would be perfect. In our testing we've been using a base of $FFFFF.
Keep up the good work, but remember, you don't have to work on Xmas day.
Keep up the good work, but remember, you don't have to work on Xmas day.

For ten years Caesar ruled with an iron hand, then with a wooden foot, and finally with a piece of string.
~ Spike Milligan
~ Spike Milligan