ID:270889
 
I pasted a code in and I got an error so I undid it and I got 267 Inconsistent Indentations. Any reason why this would happen? There's nothing wrong with the code ._.
Muyoine Guyinne wrote:
I pasted a code in and I got an error so I undid it and I got 267 Inconsistent Indentations. Any reason why this would happen? There's nothing wrong with the code

Actually there is something wrong: You pasted it in. There's nothing bad about pasting code, but you always have to check to see if it uses the same indentation scheme you do. It might be indented too far or not far enough, or it might be using spaces instead of tabs or vice-versa. Its indentation should match what's in your project.

Hit Ctrl+T in Dream Maker to see the space and tab characters, and you'll know what needs fixing in the pasted code.

Lummox JR
In response to Lummox JR
I didn't get the errors until I undid the code I pasted though.
In response to Muyoine Guyinne
Read what Lummox said carefully.

Some lines are either indented wrong, uses a different type of spacing (eg: space and tab), or both (more likely the first or the last). Use CTRL+T to see the spacings (this is the reason why people say not to copy/paste but to read/learn).

- GhostAnime