#PrettyPrint.c
10-Jan-88 23:02:25
Sb: #102577-#PrettyPrint.c
Fm: Don Curtis/SYSOP 76703,4321
To: Richard Rae/SYSOP 76703,4253
Rick,
Well the formatting came thru…and it's worse than I thought…for ME
that is. Obviously if you're happy with it, that's the part that matters. I'd
have written it like this:
cooking()
{
char broiled;
long time_cooking;
if (dinner_time) {
cook_meal();
serve_meal()
}
switch (meal_time) {
case BREAKFAST :
stack_dishes();
break;
case LUNCH :
rinse_dishes();
break;
case DINNER :
wash_dishes();
break;
default :
GoOut4Dinner();
break;
}
NapTime();
}
Again…to each his own.
Don