Jan-31-2019, 05:04 PM
First, I would make sure all of my editors are set to the same indentation settings. Four spaces, tabs, whatever. Just pick one and make sure all of the editors are set the same.
Second, the way to fix this is to get an editor that shows you the invisible characters. Then go through the code looking for discrepancies. Use find as well. If you are using tabs, search for double spaces or return and space. If you are using spaces, search for tabs.
Third, debug this. Think up a bunch of short functions, each using a loop or a conditional. Then write them to the same file, using a different editor for each function. Then, go back to an editor that can show the invisible characters, and look for discrepancies.
Second, the way to fix this is to get an editor that shows you the invisible characters. Then go through the code looking for discrepancies. Use find as well. If you are using tabs, search for double spaces or return and space. If you are using spaces, search for tabs.
Third, debug this. Think up a bunch of short functions, each using a loop or a conditional. Then write them to the same file, using a different editor for each function. Then, go back to an editor that can show the invisible characters, and look for discrepancies.
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