ID:2014042
 
(See the best response by Ter13.)
I realy don't know why this keeps happening, but this code returns:


mob
var/health = 100
verb/Check()
switch(health)
if(100)
src << "100" //inconsistent indentation
if(75 to 99)
src << "75 to 99" //inconsistent indentation
if(50 to 74)
src << "50 to 74" //inconsistent indentation


And the funny part is that when i use SPACE instead TAB - it usually works.
Best response
You can't mix tabs and spaces.
Most people tab their code, but if you copy/paste anything from the forums, it'll use spaces. Be aware of that.
You can hit Ctrl+T in the editor to see any tab characters (although it doesn't show spaces). Using that will probably help you see some of the places you used spaces.