Specifications
{ /* brace opens compound statement */
if (user_flag > 0) writecvt (user_value * 2,331); /* one-line if statement (writecvt ends with ; )
*/
else /* else immediately follows complete if-statement construct */
{ /* open compound statement for else clause */
writecvt (user_value / 2,331); /* each simple statement ends in ; (even within compound
)*/
writefifo (user_value); /* these two statements could combine with writeboth () */
} /* close compound statement for else clause */
} /* close compound statement for first if */
else writecvt (0,331); /* else clause goes with first if statement. Note single line else */
The Algorithm Language and Environment
Program Structure and Syntax
138 Chapter 4
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com










