README: Use [code][/code] tags!

Status
Not open for further replies.
▁▂▃▄▅▆▆▅▄▃▂▁
Staff member
Super-Moderator
Joined
Apr 28, 2007
Messages
1,561
Reaction score
783
If you would like your code to be shown properly, use the tags! It's a great way to keep your code readable for others because the indentation will be taken with it as well.

Example:

Without the code tag:
int useCodeTag, succeed;


if(useCodeTag == 1)
{
succeed = 1;
}
else
{
succeed = 0;
}

With the code tag:
Code:
int useCodeTag, succeed;


if(useCodeTag == 1)
{
    succeed = 1;
}
else
{
    succeed = 0;
}
 
Status
Not open for further replies.
Back