#PrettyPrint.c
10-Jan-88 13:26:31
Sb: #102349-#PrettyPrint.c
Fm: Richard Rae/SYSOP 76703,4253
To: Richard Rae/SYSOP 76703,4253
<Sigh> That's what I get for relying on a computer to do what I know *I* should
do.
I'm using an alpha of a comm program that puts dots at the start of lines that
are supposed to be preserved; I *THOUGHT* it would handle source code;
obviously I was all wet. Let's try again.
short walk()
{
char broiled;
long time_coming;
do_something();
if(finished_doing_something)
{
do_something_else();
do_some_more_stuff();
}
grab_a_nap();
return(to_sender);
}
The point I'm trying (again 8) to illustrate is twofold: 1) the braces for a
given block are always at the same level of indention as the block itself, not
to the left (this goes against most standards I've seen, but it helps me), and
2) I also use vertical white space (blank lines) to seperate blocks as well.
Assuming that came through correctly… does that look any better, Steve et al?
Rick