Loose Indentation?
#9

Indentation is simple.

Example:
Код:
public function(playerid, something)
{ 
	doSomething(playerid, something);
	if(something == 1)
	{ 
	    print("1");
	}
	else 
	{
	    print("nope.");
	}
	return 1;
}
just makes the code look clean and easy to read, scripts without indentation look very ugly.

use TAB to make it accurate
Reply


Messages In This Thread
Loose Indentation? - by Phil_Cutcliffe - 21.12.2011, 19:41
Re: Loose Indentation? - by SchurmanCQC - 21.12.2011, 19:43
Re: Loose Indentation? - by Eric - 21.12.2011, 19:43
Re: Loose Indentation? - by Jakku - 21.12.2011, 19:44
Re: Loose Indentation? - by Phil_Cutcliffe - 21.12.2011, 19:48
Re: Loose Indentation? - by Eric - 21.12.2011, 19:50
Re: Loose Indentation? - by Phil_Cutcliffe - 21.12.2011, 19:51
Re: Loose Indentation? - by Jakku - 21.12.2011, 20:03
Re: Loose Indentation? - by spedico - 21.12.2011, 20:22
Re: Loose Indentation? - by Jakku - 21.12.2011, 20:25

Forum Jump:


Users browsing this thread: 1 Guest(s)