|
Go to the first, previous, next, last section, table of contents.
statementsAn user function of Asir is defined in the following form. def name(parameter, parameter,...,parameter) { statement statement ... statement } As you can see, the statement is a fundamental element of the function. Therefore, in order to write a program, you have to learn what the statement is. The simplest statement is the simple statement. One example is an expression with a terminator (`;' or `$'.) S = sum(N);
A ` if ( I == 0 ) { J = 1; K = 2; L = 3; }
No terminator symbol is necessary after `}',
because `{' statement sequence `}' already forms a statement,
and it satisfies the syntactical requirement of the
` Go to the first, previous, next, last section, table of contents. |