Sep-25-2017, 08:46 PM
Refactoring is basically reorganizing your code. The problem is the if/elif/else structure of your code. If you structured your code differently, you wouldn't run into the problems you are having. You could fix your code without restructuring it, by defining dummy values for DSC and the other similar variables at the beginning. But in the long run that structure would lead to other problems as you expanded your code.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures