Function definition: Difference between revisions

Content added Content deleted
Line 546: Line 546:


The main features of function statement are:
The main features of function statement are:

1) You can use relational operators, so it's possible to "compact" an IF THEN ELSE statement but not loop statements: you must use a procedure for this.
1) You can use relational operators, so it's possible to "compact" an IF THEN ELSE statement but not loop statements: you must use a procedure for this.