I want to raise an error if in debug mode but do something else if not.
I know theres a way, I just don't know what it is.
I DON'T want to set a global variable and have all my code check to see whether it is true or not becuase I want my objects as reusable as possible.
Any thoughts,
Brawn
- The difference between genius and stupidity is that genius has its limits -
I know theres a way, I just don't know what it is.
I DON'T want to set a global variable and have all my code check to see whether it is true or not becuase I want my objects as reusable as possible.
Any thoughts,
![[smile] [smile] [smile]](/data/assets/smilies/smile.gif)
- The difference between genius and stupidity is that genius has its limits -