Open elikaski opened 3 years ago
#define
would work like this. Enums i think, works like this RESULT.FAILURE
There are several ways to use enums, I don't mind which one we choose as long as it works 😄
It would probably be better to just replace RESULT.FAILURE
with 1
in the compilation process.
Could be nice to have user-defined enums
That can be used inside switch-case as literals:
And as parameters to functions