Re: SWITCH question
- Posted by irv Dec 25, 2017
- 2678 views
Are there currently any problems with switch() other than the outlier mentioned above?
I've been using it for a long time with no problem, but I have never had a need to use it directly with C_HANDLE, C_POINTER, etc., since in order to save a lot of typing, I generally assign a shorter alias for each: e.g. constant P = C_POINTER, H = C_HANDLE, etc.
As shown in the tests above, this works properly.