There are some cases where it would be extremely beneficial to my code to write a very specific USERCOMMAND to take a number of specific variables together. But it quickly becomes prohibitive to write out every permutation of types if there is more than one parameter.
Some of the posts here indicate that you do need to, and the tutorial implies it. Is there any way around this?
A specific use I would have for it is handling several bit flags to a USERCOMMAND to compare them. It would be much more readable if I could write a USERCOMMAND to take in several bytes instead of doing bitmasking, multiple comparisons, or some other variation.
There are plenty of other uses I could think of for taking in several specific parameters.
Thank you,
Matt
Some of the posts here indicate that you do need to, and the tutorial implies it. Is there any way around this?
A specific use I would have for it is handling several bit flags to a USERCOMMAND to compare them. It would be much more readable if I could write a USERCOMMAND to take in several bytes instead of doing bitmasking, multiple comparisons, or some other variation.
There are plenty of other uses I could think of for taking in several specific parameters.
Thank you,
Matt
Comment