#PrettyPrint.c
As long as we're sharing… Here's my style of indents
{
int oTrouble;
BYTE it;
it = with;
for (; it < *me; it++) {
switch(with) {
case CLOSED: {
DoGoodStuff(it);
break;
}
case THEJOINT: {
LookAround(with,*me);
DoGoodStuff(it);
break;
}
default: {
ForCloseOn(it);
break;
}
}
}
return((int)with+(*me));
}
Putting the opening braces on the same line as a command allows my C mode mods
for MicroEmacs to give me some useful information from the opening of a block
when I'm at the closing brace. And I alternate between tabs and 4 spaces.
Normally I don't put braces around the case : statements, but it looks like a
good idea.
andy